bug in function _getUserRole
-
Hi,
There’s a bug in the function “_getUserRole”.
example: a user has 2 capabilities: “translator” and “administrator”.
the function userIsAdmin return false, because trim($aRole[0]) equals “translator”.in advance thanx for your update.
- The topic ‘bug in function _getUserRole’ is closed to new replies.