[Koha-bugs] [Bug 20930] Validate and cache parsed YAML/JSON type system preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 16:18:22 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20930

--- Comment #30 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
4. Update DB entry needed to prevent regression if syspref contains only \s

-    my $opachiddenitems = $opac
-      && ( C4::Context->preference('OpacHiddenItems') !~ /^\s*$/ );
-
+    my $opachiddenitems = $opac && (
C4::Context->preference('OpacHiddenItems') );

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list