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

--- Comment #8 from Marcel de Rooy <[email protected]> ---
One point of attention:
C4/Circulation.pm:    my $update_loc_rules =
get_yaml_pref_hash('UpdateItemLocationOnCheckin');
C4/Circulation.pm:    my $denyingrules =
Koha::Config::SysPrefs->find('ItemsDeniedRenewal')->get_yaml_pref_hash();

This routine comes from Koha/Util/SystemPreferences.pm.
It is parsing (probably) a small subset of YAML constructions, and is meant to
always return a hashref. Surely, we could better use YAML to parse and expect
both arrayrefs and hashrefs.

So, I would recommend to remove get_yaml_pref_hash now too.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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