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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to