[Koha-patches] [PATCH] Correct application of noissues flag in SIP.

joe.atzberger at liblime.com joe.atzberger at liblime.com
Sat Sep 6 00:50:15 CEST 2008


From: Joe Atzberger (siptest) <atz4sip at arwen.metavore.com>

---
 C4/SIP/ILS/Patron.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm
index 65c17da..498c70e 100644
--- a/C4/SIP/ILS/Patron.pm
+++ b/C4/SIP/ILS/Patron.pm
@@ -92,7 +92,9 @@ sub new {
 		($flags->{$_}) or next;
 		$ilspatron{screen_msg} .= ($flags->{$_}->{message} || '') ;
 		if ($flags->{$_}->{noissues}){
-			$ilspatron{qw(charge_ok renew_ok recall_ok hold_ok)} = (0,0,0,0);
+			foreach my $toggle (qw(charge_ok renew_ok recall_ok hold_ok)) {
+				$ilspatron{$toggle} = 0;
+			}
 		}
 	}
 
-- 
1.5.5.GIT




More information about the Koha-patches mailing list