https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21605 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |m.de.rooy@rijksmuseum.nl --- Comment #7 from Marcel de Rooy <m.de.rooy@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.