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

Chris Cormack chrisc at catalyst.net.nz
Fri May 6 21:21:31 CEST 2011


---
 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.4.1



More information about the Koha-patches mailing list