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

--- Comment #2 from Jonathan Druart <[email protected]> ---
Created attachment 207273
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207273&action=edit
Bug 43723: Use bitwise test in IsSuperLibrarian

Superlibrarian is bit 0 of borrowers.flags.

Test it with & 1 like the other flag checks (e.g. Koha::Patron->permissions)
instead of % 2.

No behaviour change expected, unless there are old entries in the
borrowers table that predate the UI change that forbid the selection of
superlibrarian and other top-level permissions?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to