http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998

--- Comment #11 from Robin Sheat <[email protected]> ---
(In reply to M. Tompsett from comment #8)
> > +    $value = 0 if ( $db_type && $db_type eq 'YesNo' && $value eq '' );
> 
> What if $value = undef? The eq check will blow up. Should it not be !$value
> instead?

That was in the original code, and hadn't blown up that I've seen before. It
probably be !$value though.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to