https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37823
Bug ID: 37823
Summary: Remove unreachable code in aqcontract.tt
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Blocks: 37728
aqcontract.tt has a few sections of code that were meant to display minimal
confirmation messages (e.g. "Data recorded") after completing an action.
However, this code is never reached, as aqcontract.pl simply redirects the page
after completing the requested action.
These unreachable sections of code use empty forms that are POSTed with no op
or inputs, simply to display an "OK" button. This now violates coding
guidelines, as submitting a form with method="post" and no "op" variable is no
longer allowed.
Since this code does nothing, it should simply be removed.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37728
[Bug 37728] More "op" are missing in POSTed forms
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/