From 07a7c3b2d5853337871a57aa576002f2008eaa63 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 18 Nov 2008 19:01:26 +0000 Subject: [PATCH] bug in test on whether to display the email address on the hold slip or not git-svn-id: svn://svn.open-ils.org/ILS/trunk@11259 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index a53040693d..cffda55de0 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -2055,7 +2055,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.phone_notify', [check.payload.hold.phone_notify()]); msg += '\n'; } - if (check.payload.hold.email_notify()) { + if (get_bool(check.payload.hold.email_notify())) { var payload_email = au_obj.email() ? au_obj.email() : ''; msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.email_notify', [payload_email]); msg += '\n'; @@ -2185,7 +2185,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.phone_notify', [check.payload.hold.phone_notify()]); msg += '\n'; } - if (check.payload.hold.email_notify()) { + if (get_bool(check.payload.hold.email_notify())) { var payload_email = au_obj.email() ? au_obj.email() : ''; msg += document.getElementById('circStrings').getFormattedString('staff.circ.utils.payload.hold.email_notify', [payload_email]); msg += '\n'; -- 2.11.0