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

--- Comment #8 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
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