]> git.koha-community.org Git - koha.git/commit
Bug 36793: Fix case of $var in Context->delete_preference
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 6 May 2024 12:28:45 +0000 (12:28 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 30 May 2024 19:47:23 +0000 (19:47 +0000)
commitd310549dae5fe2d3688b3f6d90a63c7f101e1fca
tree789ee91ebe648a0bef0fde8264a3ce1abbbbe399
parenteb7d259dd0ec52d1c9d9121975d02c232344d35c
Bug 36793: Fix case of $var in Context->delete_preference

This only applies to 'local' preferences.

Test plan (first without this patch):
Add a local pref. Delete it. Ask value on commandline with:
* perl -MC4::Context -e"print C4::Context->preference('YOUR_PREF')"
* Did you replace YOUR_PREF :)

Now repeat with this patch. And verify fix (no value now).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8ea126b1f89e24a2baf8c43f7bf837bf74741088)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 6122b60194af5b6939a6bbae6bc3c7973835b309)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Context.pm