Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2007 at 08:46 UTC
Updated:
12 Aug 2007 at 20:20 UTC
When deleting user accounts through user/uid/delete, three errors show up:
* warning: Missing argument 1 for user_edit() in /path/modules/user/user.module on line 1690.
* warning: htmlspecialchars() expects parameter 1 to be string, array given in /path/includes/bootstrap.inc on line 663.
and (3), the description is displayed as Array
The attached patch fixes these issues.
| Comment | File | Size | Author |
|---|---|---|---|
| user_module_delete.patch | 1.08 KB | DriesK |
Comments
Comment #1
dries commentedThere seem to be two menu handlers that match -- one through drupal_get_form() and one direct. I think this patch might fix the latter, but could break the former. Might need a little bit more investigation.
Comment #2
asimmonds commentedThe user_edit() part of this patch should be fixed properly with removing the deletion code from user_edit() and moving it to a form submit handler.
The second hunk is similar to a ignored patch that I submitted for CNR at:
http://drupal.org/node/156796#comment-270162
Comment #3
asimmonds commentedpwolanin has attacked this in the other issue:
http://drupal.org/node/156796