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)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 12 Mar 2020 23:57:18 +0000 (23:57 +0000)
commit7535b5072329cc38ef7f0cef2616d51b289efb0b
tree41dc960ee000de5c75fd8ad2671c0c3485d9ce11
parentaa8cdebe0c6b9b0dfb0819648e217553e675d2f5
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>
opac/opac-messaging.pl