Bug 19788: Preserve case sensitivity when creating Local preferences
authorFrédéric Demians <f.demians@tamil.fr>
Mon, 11 Dec 2017 07:41:05 +0000 (08:41 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 Dec 2017 16:15:37 +0000 (13:15 -0300)
commit46f4f7d6c2857644e3c2d2b0c152007037fb0409
tree65de4d76cbe345350fd461b50ec6b83bfab2b92c
parent103fe109b22b48d506848a0a1bc43556c9dfda4b
Bug 19788: Preserve case sensitivity when creating Local preferences

Fix a bug tranforming new local preference variable name in lowercase.

TO TEST:

1. Admin > System preferences > Local use
2. Button New preference. Fill variable field with 'TESTfoo'. Click
   Save.
3. The new variable is named: 'testfoo'.
4. Apply the patch.
5. Button New preference. Fill variable field with 'TESTfoo2'. Click
   Save.
6. The new variable is properly named: 'TESTfoo2'.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Context.pm