From 617eb4830994130bdc7e552bd7180efd2fa4d313 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 8 Sep 2009 11:48:57 +1200 Subject: [PATCH] Fixing toggle --- admin/categorie.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/categorie.pl b/admin/categorie.pl index 692bf6d1c1..c6ccbd50e2 100755 --- 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'}, - "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; -- 2.39.5