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

--- Comment #35 from Paul Poulain <[email protected]> 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.
_______________________________________________
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