[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 6872 - Can't set default SMS messaging options for patron category
Nicole C. Engard
nengard at bywatersolutions.com
Wed Sep 21 13:50:52 CEST 2011
From: Owen Leonard <oleonard at myacpl.org>
Passing SMS driver preference value to the template so that SMS
options can be displayed when appropriate.
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
admin/categorie.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/admin/categorie.pl b/admin/categorie.pl
index 576d7ca..521346b 100755
--- a/admin/categorie.pl
+++ b/admin/categorie.pl
@@ -113,6 +113,7 @@ if ($op eq 'add_form') {
category_type => $data->{'category_type'},
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
"type_".$data->{'category_type'} => 1,
+ SMSSendDriver => C4::Context->preference("SMSSendDriver")
);
if (C4::Context->preference('EnhancedMessagingPreferences')) {
C4::Form::MessagingPreferences::set_form_values({ categorycode => $categorycode } , $template);
--
1.7.2.3
More information about the Koha-patches
mailing list