]> git.koha-community.org Git - koha.git/commit
Bug 17499: (follow-up) Validate phone and itiva transport types
authorLari Taskula <lari.taskula@hypernova.fi>
Wed, 18 Nov 2020 04:10:48 +0000 (04:10 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Sep 2023 13:16:10 +0000 (10:16 -0300)
commitea9dbf6a81e3f9b36b4b9025fd35c806c78eb915
treef44a08d47b2f65967287d3148a7b97b963c53cf1
parent124f3dadb85eb9f8c81d99732a0fa092fe3ddccd
Bug 17499: (follow-up) Validate phone and itiva transport types

Message transport types 'phone' and 'itiva' were not validated unlike
'email' and 'sms'. This patch adds equivalent checks to the missing mtts.

To test:
1. prove t/db_dependent/Koha/Patron/Message/Preferences.t

Sponsored-by: The National Library of Finland
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Exceptions/Patron/Message/Preference.pm
Koha/Patron/Message/Preference.pm
t/db_dependent/Koha/Patron/Message/Preferences.t