[Koha-bugs] [Bug 21605] Cannot create EDI account
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 26 14:40:25 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21605
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+ $fields->{$capability} = defined $input->param($capability);
+ if ($fields->{$capability} != 1) {
+ $fields->{$capability} = 0;
Somehow I do not understand.
Say I pass a 0 in the field.
Than $fields->{$capability} = 1 since 0 is defined.
Say I pass 'a'. Again = 1.
Only undef is not defined and will put empty string into $fields converted to
0.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list