Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: paranojik commentedHere's the patch. We should expect more problems like this one ( caused by the administration page rework )...
Comment #2
paranojik CreditAttribution: paranojik commentedMaybe this is an even better solution... It also fixes searching users.
Comment #3
Dries CreditAttribution: Dries commentedThanks! Committed to CVS HEAD.
Comment #4
(not verified) CreditAttribution: commented