]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 29 May 2024 13:11:02 +0000 (15:11 +0200)
commit6122b60194af5b6939a6bbae6bc3c7973835b309
tree42d51f79f41f0a261348f107569ea5545b9c84e0
parentd39200e0d631cf5f008cbd8d185319d847a595f7
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>
C4/Context.pm