[Koha-patches] [PATCH 2/2] [SIGNED-OFF] Bug 5199 : Followup patch, fixing a bug with NULL option

Nicole C. Engard nengard at bywatersolutions.com
Fri May 6 08:51:47 CEST 2011


From: Chris Cormack <chrisc at catalyst.net.nz>


Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
 opac/opac-renew.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl
index 15b3b5c..dd3dcf2 100755
--- a/opac/opac-renew.pl
+++ b/opac/opac-renew.pl
@@ -63,7 +63,7 @@ for my $itemnumber ( @items ) {
 	    my $issue = GetOpenIssue($itemnumber);
 	    $branchcode = $issue->{'branchcode'};
 	}
-	elsif ($renewalbranch eq 'null'){
+	elsif ($renewalbranch eq 'NULL'){
 	    $branchcode='';
 	}
 	else {
-- 
1.7.2.3



More information about the Koha-patches mailing list