Bug 30077: (QA follow-up) Avoid warning
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
12f42a5aaf
commit
cdf34ce156
|
|
@ -239,7 +239,8 @@ my @search_groups =
|
|||
Koha::Library::Groups->get_search_groups( { interface => 'staff' } )->as_list;
|
||||
|
||||
my $branch_limit = '';
|
||||
if ( scalar $cgi->param('limit') =~ /branch:([\w-]+)/ ) {
|
||||
my $limit_param = $cgi->param('limit');
|
||||
if ( $limit_param and $limit_param =~ /branch:([\w-]+)/ ) {
|
||||
$branch_limit = $1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue