http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3177 Summary: haspermission offers bogus hashref option Product: Koha Version: HEAD Platform: PC OS/Version: All Status: NEW Severity: minor Priority: P5 Component: Authentication AssignedTo: chris@bigballofwax.co.nz ReportedBy: joe.atzberger@liblime.com Estimated Hours: 0.0 Instead of userid, hashpermissions() claims to accept the $member hashref to check for authentication. It does accept it, but it doesn't DO anything with it. That option should be removed until functionally implemented. Luckily nothing attempts to use it currently. Also, it is lame to pass $dbh around when you have it readily available from C4::Context->dbh(). This kind of code may have predated the Context-caching of dbh, or it may have just been unaware of it. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.