Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jan 2005 at 19:44 UTC
Updated:
10 Feb 2005 at 19:59 UTC
Type error
Date Wednesday, January 12, 2005 - 19:17
User chx
Location /cvs/drupal/?q=user/2/edit
Message array_keys(): The first argument should be an array in /var/www/cvs/drupal/modules/user.module on line 1048.
Hostname 127.0.0.1
| Comment | File | Size | Author |
|---|---|---|---|
| user_delete_0.patch | 875 bytes | chx |
Comments
Comment #1
dries commentedI can't reproduce this problem.
Comment #2
buddaProblem is fixed by the patch here. Had no more problems since.
Error was re-produced when trying to delete the same user account a number of times by hitting the 'delete' form button.
Comment #3
buddaI also note that you can hit the 'delete' button as much as you want and the account will not be deleted. I see that you are required to first mark the account status to "block". Actually giving user feedback to say this would be handy.
Currently clicking the 'delete' button just refreshes the user form.
Maybe some javascript could be used to disable the 'delete' button until the status == 0 (blocked) ? Definitely increase usability then.
Is this a related bug or a new issue?
Comment #4
dries commentedbuddy: can you reproduce this problem with CVS HEAD or with Drupal 4.5.x?
Comment #5
dries commentedI still can't reproduce this.