[Koha-bugs] [Bug 18320] patroncards/edit-layout.pl raises warnings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 23 21:56:21 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18320
--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 128912
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128912&action=edit
Bug 18320: Remove calls to CGI->param from the templates in patron cards
This patch removes calls to CGI->param from within the templates
(patroncards-errors.inc) and passes error_* variables with the same
codes from the controllers to the template instead.
This way we can be sure CGI->param is not called in list context.
To test, try those pages and see they don't show warnings anymore.
Verify that error situations still show the error messages.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list