Bug 18535 - Clicking 'edit printer profile' in label creator causes software error
authorNick Clemens <nick@bywatersolutions.com>
Wed, 3 May 2017 20:43:22 +0000 (16:43 -0400)
committerMason James <mtj@kohaaloha.com>
Wed, 24 May 2017 02:26:23 +0000 (14:26 +1200)
commitc90692657738f283697f2476cd12910111aa61bc
treead1274c077949a3bdfa108a7a4cd2b7ac244be4d
parentae561349fb8856ade637e627c19ad22f0e5dc779
Bug 18535 - Clicking 'edit printer profile' in label creator causes software error

1) Go to Tools > Label creator
2) If you don't have a printer profile defined, create one.
3) Go to manage > Printer profiles
4) Click the 'edit' button on any of the profiles.
5) INTERNAL SERVER ERROR! "Can't use string ("fields") as a HASH ref
while "strict refs" in use at /usr/share/koha/lib/C4/Creators/Lib.pm
line 147"
6) Apply patch
7) Click the 'edit' button on any of the profiles.
8) Things work as expected

Bug reproduced, is fixed by this patch
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit af845c143a4f5a8fb1ea88cac3478ef91a1bdb9c)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
labels/label-edit-profile.pl