projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'kc/master' into new/enh/bug_5917
[koha_fer]
/
C4
/
Koha.pm
diff --git
a/C4/Koha.pm
b/C4/Koha.pm
index
0836669
..
95244bd
100644
(file)
--- a/
C4/Koha.pm
+++ b/
C4/Koha.pm
@@
-1051,7
+1051,7
@@
sub GetAuthorisedValueCategories {
my $sth = $dbh->prepare("SELECT DISTINCT category FROM authorised_values ORDER BY category");
$sth->execute;
my @results;
my $sth = $dbh->prepare("SELECT DISTINCT category FROM authorised_values ORDER BY category");
$sth->execute;
my @results;
- while (
my $category = $sth->fetchrow_array
) {
+ while (
defined (my $category = $sth->fetchrow_array)
) {
push @results, $category;
}
return \@results;
push @results, $category;
}
return \@results;