Bugfix: Stop C4::Koha from filling the log with pesky warns
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
e692dfc18a
commit
4e65ac5965
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ sub GetAuthorisedValues {
|
|||
my $sth = $dbh->prepare($query);
|
||||
$sth->execute;
|
||||
while (my $data=$sth->fetchrow_hashref) {
|
||||
if ($selected eq $data->{'authorised_value'} ) {
|
||||
if ($selected && $selected eq $data->{'authorised_value'} ) {
|
||||
$data->{'selected'} = 1;
|
||||
}
|
||||
if ($opac && $data->{'lib_opac'}) {
|
||||
|
|
Loading…
Reference in a new issue