Closed (fixed)
Project:
Image
Version:
6.x-1.0-alpha4
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2008 at 12:59 UTC
Updated:
31 Jan 2009 at 20:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
salvisPlease run Coder on Image — it will reveal this as well as a number of other obvious D6 porting issues that need to be fixed before it makes sense to start testing.
Comment #2
sunPlease test attached patch.
Comment #3
sunRevised patch after reading the docs properly.
Comment #4
sunCommitted.
Comment #5
salvisSince you're accessing $account->uid, $account must not be NULL.
EDIT: patch relative to current HEAD.
Comment #6
sunI do not think so - the API docs do not contain this enhanced validation either, so $account is always passed in. All I mistakenly left over from my first patch was the wrong default, i.e. "= NULL" in the signature.
Comment #7
salvisAh, right, I didn't check the API docs, only looked at your code.
The docs say that $account is not optional, so just remove the
= NULLand that's it.Comment #8
sunRemoved.