The latest cvs version does not allow admins to add new users, it always shows the users list.
I got it work by setting the empty $op to arg(3) in the user_admin() function:
function user_admin() {
$edit = isset($_POST['edit']) ? $_POST['edit'] : '';
$op = isset($_POST['op']) ? $_POST['op'] : '';
if (empty($op)) {
$op = arg(3);
}
.................
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user.module_56.patch | 3.14 KB | paranojik |
| #1 | user.module_55.patch | 501 bytes | paranojik |
Comments
Comment #1
paranojik commentedHere's the patch. We should expect more problems like this one ( caused by the administration page rework )...
Comment #2
paranojik commentedMaybe this is an even better solution... It also fixes searching users.
Comment #3
dries commentedThanks! Committed to CVS HEAD.
Comment #4
(not verified) commented