projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
792e25e
)
Fixing toggle
author
Chris Cormack
<chris@bigballofwax.co.nz>
Mon, 7 Sep 2009 23:48:57 +0000
(11:48 +1200)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:39 +0000
(23:19 +0200)
admin/categorie.pl
patch
|
blob
|
history
diff --git
a/admin/categorie.pl
b/admin/categorie.pl
index
692bf6d
..
c6ccbd5
100755
(executable)
--- a/
admin/categorie.pl
+++ b/
admin/categorie.pl
@@
-185,8
+185,7
@@
if ($op eq 'add_form') {
issuelimit => $results->[$i]{'issuelimit'},
reservefee => sprintf("%.2f",$results->[$i]{'reservefee'}),
category_type => $results->[$i]{'category_type'},
issuelimit => $results->[$i]{'issuelimit'},
reservefee => sprintf("%.2f",$results->[$i]{'reservefee'}),
category_type => $results->[$i]{'category_type'},
- "type_".$results->[$i]{'category_type'} => 1,
- toggle => $toggle );
+ "type_".$results->[$i]{'category_type'} => 1);
if (C4::Context->preference('EnhancedMessagingPreferences')) {
my $brief_prefs = _get_brief_messaging_prefs($results->[$i]{'categorycode'});
$row{messaging_prefs} = $brief_prefs if @$brief_prefs;
if (C4::Context->preference('EnhancedMessagingPreferences')) {
my $brief_prefs = _get_brief_messaging_prefs($results->[$i]{'categorycode'});
$row{messaging_prefs} = $brief_prefs if @$brief_prefs;