Closed (fixed)
Project:
Pathauto
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2007 at 01:46 UTC
Updated:
2 Dec 2007 at 13:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesThanks for your help testing the -dev release. This appears to be a regression from http://drupal.org/node/83993 Can you confirm that this only happens when editing a user?
Can you tell me which version of PHP you use? I've tested with two flavors of PHP5. The documentation for array_merge is where I got the idea to use the + operator and it claims that it should work on PHP4 and PHP5.
Also, just to confirm, that line is
$new_user->roles = $edit['roles'] + array(DRUPAL_AUTHENTICATED_RID => 'authenticated user');I have an alternate idea on building that array...I need a minute to test and post a patch, though.
Comment #2
gregglesLet's try this style.
Comment #3
gregglesComment #4
bainome commentedOops, I've never done patching before so I don't know how to patch it *_* I'll look into it. As soon as I updated the module, the css is gone and the link that leads to editing the user profile is also gone. So basically it happens as soon as the module is applied.
My PHP version is 4.4.4 .
Comment #5
bainome commentedI just patched it.
It solved the problem. Thanks :)
Comment #6
gregglesThanks for testing this out and reviewing. I've applied it to both the 5.x-2.x branch and trunk.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.