https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31364
Joonas Kylmälä <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |[email protected] --- Comment #5 from Joonas Kylmälä <[email protected]> --- Adds a comma in the end of the syspref list due to it sending an empty sysref value in addition to filled ones in the query string: > MariaDB [koha_kohadev]> select * from systempreferences where variable = > "OPACHoldsIfAvailableAtPickupExceptions"\G > *************************** 1. row *************************** > variable: OPACHoldsIfAvailableAtPickupExceptions > value: B,HB, > options: > explanation: List the patron categories not affected by > OPACHoldsIfAvailableAtPickup if off > type: Free Since the sysref object value is an array we can just check instead whether the array is empty. Will send a patch shortly -- 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/
