projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885f8a6
)
Fixing logic error that was busting templates.
author
Chris Cormack
<crc@liblime.com>
Sun, 30 Sep 2007 00:55:39 +0000
(19:55 -0500)
committer
Chris Cormack
<crc@liblime.com>
Sun, 30 Sep 2007 00:56:22 +0000
(19:56 -0500)
DO NOT create an empty array by going my @array='';
Signed-off-by: Chris Cormack <crc@liblime.com>
admin/branches.pl
patch
|
blob
|
history
diff --git
a/admin/branches.pl
b/admin/branches.pl
index
6f5d828
..
0b7532c
100755
(executable)
--- a/
admin/branches.pl
+++ b/
admin/branches.pl
@@
-383,7
+383,7
@@
sub branchinfotable {
# Handle categories
my $no_categories_p = 1;
- my @categories
= ''
;
+ my @categories;
foreach my $cat ( @{ $branch->{'categories'} } ) {
my ($catinfo) = @{ GetBranchCategory($cat) };
push @categories, { 'categoryname' => $catinfo->{'categoryname'} };