The example at http://api.drupal.org/api/drupal/modules--system--system.api.php/functio... is incorrect since the $file parameter is passed via module_invoke_all() and $file is an object, there is no need to specify the parameter is a reference.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1067650-hook-file-validate-reference.patch | 579 bytes | dave reid |
Comments
Comment #1
dave reidComment #2
andypostActually this is a docs bug, coming from #1043360: Warning message and disappearing pictures
Comment #3
dries commentedCommitted to CVS HEAD.
Comment #4
andypostThere's no commit message... so I think this was not commited at all.
Comment #5
dries commentedCommitted it with another patch. Sorry.
Comment #7
Syd Barrett commentedHave you got any news about this bug?