7 Apr
2014
7 Apr
'14
7:54 p.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998 --- Comment #8 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 26621 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26621 Bug 11998 - move most syspref db access into Context.pm Review of attachment 26621: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11998&attachment=26621) ----------------------------------------------------------------- ::: C4/Context.pm @@ +645,2 @@
+ $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? -- You are receiving this mail because: You are watching all bug changes.