8 Apr
2014
8 Apr
'14
12:27 a.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998 --- Comment #11 from Robin Sheat <robin@catalyst.net.nz> --- (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.