Bug 12528 - fix problem when insert OPACEnhancedMessagingPreferences

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Bouzid Fergani 2015-12-28 08:59:21 -05:00 committed by Kyle M Hall
parent aa14476ebc
commit 243662824a
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,2 @@
INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES
('OPACEnhancedMessagingPreferences', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1';
INSERT INTO systempreferences ( variable, value, options, explanation,type ) VALUES
('EnhancedMessagingPreferences', '1', NULL, 'If ON, allows patrons to select to receive additional messages about items due or nearly due.', 'YesNo') ON DUPLICATE KEY UPDATE value ='1';
INSERT INTO systempreferences ( value, variable, options, explanation,type )
select value ,'OPACEnhancedMessagingPreferences', NULL, 'If ON, allows patrons to select to receive additional messages about items due or nearly due.', 'YesNo' from systempreferences where variable='EnhancedMessagingPreferences';

View File

@ -164,7 +164,7 @@ Patrons:
choices:
yes: Show
no: "Don't show"
- "patron messaging setting on the OPAC (NOTE: EnhancedMessagingPreferences must be enabled)."
- "patron messaging setting on the OPAC (note: EnhancedMessagingPreferences must be enabled)."
"Norwegian patron database":
-