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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 17 May 2024 08:36:34 +0000 (10:36 +0200)
commit8ea126b1f89e24a2baf8c43f7bf837bf74741088
tree980a22ccfa9a28f7c030c271439e5a9d8c864d61
parentb77cb006f1b1145b0251579e4122b7ad0c1bd0c1
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>
C4/Context.pm