[open-ils-commits] r13869 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Utils (erickson)

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


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

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

Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-08-18 17:44:22 UTC (rev 13868)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm	2009-08-18 17:44:41 UTC (rev 13869)
@@ -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