From 9306dde7b99bd758ae96053f68179d1688b0575d Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 25 Aug 2014 13:45:16 -0400 Subject: [PATCH] Fix for problem where opac.hold_notify is null or blank and no notification options are triggered. Signed-off-by: Terran McCanna --- Open-ILS/src/templates/kpac/getit.tt2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Open-ILS/src/templates/kpac/getit.tt2 b/Open-ILS/src/templates/kpac/getit.tt2 index caf74170a1..478de66a95 100644 --- a/Open-ILS/src/templates/kpac/getit.tt2 +++ b/Open-ILS/src/templates/kpac/getit.tt2 @@ -77,6 +77,13 @@ + [%- IF ctx.notify_method -%] + [%- IF ctx.notify_method == '' OR ctx.notify_method == 'phone:email' -%] + [%- SET ctx.notify_method = 'email|phone' -%] + [%- END -%] + [%- ELSE -%] + [%- SET ctx.notify_method = 'email|phone' -%] + [%- END -%] [%- IF ctx.user.email -%] [%- IF ctx.notify_method == 'email' OR ctx.notify_method == 'email|phone' -%] -- 2.11.0