---
C4/Koha.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/C4/Koha.pm b/C4/Koha.pm
index 27505be..5be3faa 100644
--- a/C4/Koha.pm
+++ b/C4/Koha.pm
@@ -1127,8 +1127,8 @@ 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) {
- push @results, $category;
+ while (my ($category) = $sth->fetchrow_array) {
+ push @results, ($category);
}
return \...@results;
}
--
1.6.0.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches