Closed (fixed)
Project:
Drupal core
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2005 at 13:44 UTC
Updated:
6 Oct 2005 at 15:01 UTC
Jump to comment: Most recent file
During testing uploading file I've got exception message:
Unexpected PHP error [Undefined variable: authmaps] severity [E_NOTICE] in [****\modules\user.module] line [201]
My patch changes:
if ($authmaps) => if (isset($authmaps))
I don't know if this condition is sufficient so please review (but for my testing error message disappeared )
thank you
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user.module.authmap.path.txt | 447 bytes | Thomas Ilsche |
| user.module.authmaps.patch.txt | 461 bytes | kuba.zygmunt |
Comments
Comment #1
killes@www.drop.org commentedyes, this will fix the notice and won't have unwanted side effects.
This review brought to you by Patch Bingo!
Comment #2
Thomas Ilsche commentedEven though the patch will probably behave correctly I would suggest the following alternative for clear style (always initialize variables).
Comment #3
dries commentedCommitted to HEAD. Thanks.
Comment #4
(not verified) commentedComment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commented