From: Bill Erickson Date: Mon, 14 Feb 2011 18:32:22 +0000 (-0500) Subject: avoid undef warnings X-Git-Tag: opac-tt-poc-demo2~27^2~1 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=35c5b0c72062d68c83908bc2a4ec36b2d9de504a;p=evergreen%2Fequinox.git avoid undef warnings --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index fb15179d16..5042641af2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -172,7 +172,7 @@ sub load_myopac_holds { my $limit = $self->cgi->param('limit') || 0; my $offset = $self->cgi->param('offset') || 0; my $action = $self->cgi->param('action') || ''; - my $available = int($self->cgi->param('available')); + my $available = int($self->cgi->param('available') || 0); $self->handle_hold_update($action) if $action;