[open-ils-commits] r13868 - trunk/Open-ILS/src/perlmods/OpenILS/Utils (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 18 13:44:26 EDT 2009


Author: erickson
Date: 2009-08-18 13:44:22 -0400 (Tue, 18 Aug 2009)
New Revision: 13868

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
Log:
don't call ->content if there is no response

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-08-18 15:48:39 UTC (rev 13867)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-08-18 17:44:22 UTC (rev 13868)
@@ -369,7 +369,7 @@
                 $err = $resp;
 		        $self->log(E, "request error $method : $argstr : $err");
             } else {
-                $val = $resp->content;
+                $val = $resp->content if $resp;
             }
         }
 



More information about the open-ils-commits mailing list