projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ff058
)
Bug #6082 - On aqbudgets.pl bug on the Statistic's combobox
author
Alex Arnaud
<alex.arnaud@biblibre.com>
Thu, 7 Apr 2011 09:59:22 +0000
(11:59 +0200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 7 Apr 2011 22:45:02 +0000
(10:45 +1200)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Koha.pm
patch
|
blob
|
history
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;
- while (
my $category = $sth->fetchrow_array
) {
+ while (
defined (my $category = $sth->fetchrow_array)
) {
push @results, $category;
}
return \@results;