[Koha-patches] [PATCH] (bug #3569) fix GetAuthorisedValueCategories()
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Tue Sep 1 17:17:27 CEST 2009
---
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
More information about the Koha-patches
mailing list