Bug 21605: Ensure EDI acct fields set to boolean val
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 26 Oct 2018 09:42:13 +0000 (10:42 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 16 Jan 2019 08:19:16 +0000 (09:19 +0100)
commitfc39a7a80106b6ee92122cce1969ade99be9342a
treee92f02dc94e89a2165f3a2b1a2aa52432b2f97be
parenta4ca88816d650bd56871f37ea45bec0bf5950d88
Bug 21605: Ensure EDI acct fields set to boolean val

Validate the input to the fields indicating account
functionality. The only valid values are 1 and 0
non-integer (or integers other than 0/1) are invalid

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c9c3fc4368ee9d37a45c48167d25d5cee511898b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit ae409c2fb347f7605e20afb34c6e7fe6a04092bb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 4360ba1a247cca6466eb1bcf4e286dd45645d621)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
admin/edi_accounts.pl