Bug 5199 : Followup patch, fixing a bug with NULL option github/bug_5199 origin/new/enh/bug_5199
authorChris Cormack <chrisc@catalyst.net.nz>
Fri, 6 May 2011 19:20:08 +0000 (07:20 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 2 Jul 2011 20:48:52 +0000 (08:48 +1200)
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-renew.pl

index 15b3b5c..dd3dcf2 100755 (executable)
@@ -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 {