From: erickson Date: Tue, 18 Aug 2009 17:44:41 +0000 (+0000) Subject: don't call ->content if there is no response X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5d9b834aa57034da8c8972c49e1d527917aa9a84;p=working%2FEvergreen.git don't call ->content if there is no response git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@13869 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm index dbfc384558..8881e2f7cc 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -369,7 +369,7 @@ sub request { $err = $resp; $self->log(E, "request error $method : $argstr : $err"); } else { - $val = $resp->content; + $val = $resp->content if $resp; } }