http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7002
Ian Walls <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.walls@bywatersolutions. | |com --- Comment #1 from Ian Walls <[email protected]> 2011-10-11 15:33:55 UTC --- To check for superlibrarian (or any top-level permission), you need to use bitwise AND. ($user->{'flags'} & 1) should return true of the user has superlibrarian checked, and false otherwise. C4/Serials.pm does similar erroneous checks for ($user->{'flags'} != 1), which will also need modification. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ 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/
