[Koha-bugs] [Bug 16673] New: Discharge message appearing incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 6 17:01:59 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16673
Bug ID: 16673
Summary: Discharge message appearing incorrectly
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
I don't know how to trigger this, but on a partner's site we are seeing the
message "Staff members are not allowed to discharge borrowers, nor borrowers to
request a discharge." appear whenever the staff are trying to checkout.
I suspect the problem is here:
[% IF ( nopermission ) %]
<div class="dialog alert">Staff members are not allowed to discharge
borrowers, nor borrowers to request a discharge.</div>
[% END %]
No permission just checks the page params, but 'nopermission' is only set from
trying to access discharge.pl with the 'useDischarge' syspref set to 'Don't
allow'
It appears as if the 'nopermission' is getting incorrect values from somewhere
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list