[Koha-bugs] [Bug 6488] opachiddenitems not working in master

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 15:22:28 CET 2012


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

--- Comment #35 from Paul Poulain <paul.poulain at biblibre.com> 2012-02-02 14:22:28 UTC ---
(In reply to comment #34)
> Warning like below apparently come from the latest commit on Search.pm:
> 
> [Thu Feb 02 13:33:42 2012] [error] [client 192.87.126.61] [Thu Feb  2 13:33:42
> 2012] opac-search.pl: Unable to parse OpacHiddenItems syspref : YAML Error:
OK, I get the error, but only when the syspref is empty.

That's strange, because in the code there is:
+    $yaml = "$yaml\n"; # YAML is anal on ending \n. Surplus does not hurt

so yaml should never be empty...

Adding 2 \n solve the problem.

follow-up with a 2nd \n pushed, thanks to confirm the log is silenced now.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list