Bug 18933: Allow OPAC messaging SMS number to be set to empty
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 9 Feb 2020 21:55:01 +0000 (21:55 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 18 Mar 2020 16:51:54 +0000 (16:51 +0000)
commit1fced79e401ebcff11c89380307cdd224ca58a68
tree6b12008e47291538487591366cef2c1c01fc4092
parent8eb9292a15192b44299e5034ace8b7a7c4fe9145
Bug 18933: Allow OPAC messaging SMS number to be set to empty

To test:
1) Ensure EnhancedMessagingPreferences is enabled and
EnhancedMessagingPreferencesOPAC is set to Show. Set SMSSendDriver to
Email
2) Log in to OPAC, go to your messaging tab
3) Set an SMS number if you havent already
4) Try to remove it (set to empty)
5) Notice that it says the number has been updated, but it has not
been set to empty
6) Apply patch and refresh page
7) Attempt to set the number to empty
8) Confirm this is successful

Sponsored-by: Catalyst IT
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 7535b5072329cc38ef7f0cef2616d51b289efb0b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-messaging.pl