[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
Sat Oct 27 14:25:56 CEST 2018


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 81361
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81361&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>

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


More information about the Koha-bugs mailing list