[Koha-bugs] [Bug 11998] Syspref caching issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 7 20:54:49 CEST 2014


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

--- Comment #8 from M. Tompsett <mtompset at 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.


More information about the Koha-bugs mailing list