In the function abuse_admin_ban_user($uid), the following like doesn't allow user 1 to ban an account:
line 447: if ($user->uid > 1 && $user->uid !== $account->uid) {
it should be
line 447: if ($account->uid > 1 && $user->uid !== $account->uid) {
In the function abuse_admin_ban_user($uid), the following like doesn't allow user 1 to ban an account:
line 447: if ($user->uid > 1 && $user->uid !== $account->uid) {
it should be
line 447: if ($account->uid > 1 && $user->uid !== $account->uid) {
Comments
Comment #1
btmash commentedI'll be taking a look through the codebase to patch this up. Thanks!
Comment #2
btmash commentedSorry for the late review - I've added your patch in - it will be available in the dev branch and should be available in the official release soon.
Comment #3
btmash commented