[Koha-bugs] [Bug 18320] patroncards/edit-layout.pl raises warnings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 7 16:55:28 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18320
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #128912|0 |1
is obsolete| |
--- Comment #11 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 129194
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129194&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>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list