Drupal 6 patch : user edit page

stella - October 16, 2009 - 19:08
Project:netFORUM Authentication
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

This patch is actually for the Drupal 6 version of the module which I downloaded via CVS, but for which there's no CVS tag to create an issue against :(

When a user is not a netForum user, some errors are displayed on the user edit page, e.g.

    * warning: array_keys() [function.array-keys]: The first argument should be an array in modules/user/user.module on line 1498.
    * warning: Invalid argument supplied for foreach() in includes/form.inc on line 1205.

The attached patch fixes this problem and correctly loads the user data.

Cheers,
Stella

AttachmentSize
user_edit_page.patch613 bytes

#1

james.michael-hill - October 16, 2009 - 19:55
Version:5.x-9.1» 6.x-2.x-dev

Great, thanks Stella!

#2

james.michael-hill - October 16, 2009 - 23:59
Status:needs review» fixed

Fixed in r 1.11.2.6

#3

james.michael-hill - October 17, 2009 - 00:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.