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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 10 Jan 2019 13:41:35 +0000 (13:41 +0000)
commitae409c2fb347f7605e20afb34c6e7fe6a04092bb
tree397ce83b47ee07253f1d5e2492e2389deb9eef01
parent7a9c838b637c0203d3d229c9f8ac2e5e073a1b71
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>
admin/edi_accounts.pl