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@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@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.