Bug #6082 - On aqbudgets.pl bug on the Statistic's combobox
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
e5ff05857e
commit
22dc04e24c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue