[Koha-bugs] [Bug 21702] mancredit.pl incorrectly passes user_id instead of the patron id

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 29 23:00:16 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21702

--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 81594
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81594&action=edit
Bug 21702: (follow-up) Simplify checks and use standard fallback behaviour

This patch acknowledges the fact that some checks here are done in a way
that is not standard these days. This checks are originally done
multiple times in different ways. output_and_exit_if_error should be
used.

This implies a minor behaviour change: if the passed (in the URL)
borrowernumber doesn't exist, it sends the user to a 'Patron doesn't
exist page' instead of the circulation page for the borrowernumber.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Andrew Isherwood <andrew.isherwood at ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list