projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49787e9
)
Bug 5917 : fixed branches.pl and made template::param handle empty array/hashes better
author
Christopher Hall
<chris.hall@catalyst.net.nz>
Fri, 4 Feb 2011 02:10:16 +0000
(15:10 +1300)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Tue, 29 Mar 2011 19:55:57 +0000
(08:55 +1300)
admin/branches.pl
patch
|
blob
|
history
diff --git
a/admin/branches.pl
b/admin/branches.pl
index
f4bcf66
..
803d250
100755
(executable)
--- a/
admin/branches.pl
+++ b/
admin/branches.pl
@@
-383,7
+383,7
@@
sub branchinfotable {
categorytype => $cat->{'categorytype'},
};
}
- push @branchcategories, { categorytype => $ctype , $ctype => 1 , catloop =>
\@categories
};
+ push @branchcategories, { categorytype => $ctype , $ctype => 1 , catloop =>
( @categories ? \@categories : undef)
};
}
$innertemplate->param(
branches => \@loop_data,