Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2006 at 10:35 UTC
Updated:
6 Jan 2007 at 04:45 UTC
Please provide a default value for image_block() as documented in [1] and [2].
I am trying to call drupal_bootstrap() from outside of Drupal and keep getting error
Warning: Missing argument 1 for image_block()
when I try bootstrap_invoke_all('block') and image.module is enabled.
Patch attached.
[1] http://api.drupal.org/api/4.7/function/block_example_block
[2] http://api.drupal.org/api/4.7/function/hook_block
| Comment | File | Size | Author |
|---|---|---|---|
| image.module-diff-2006-08-03-12-33-14.patch | 562 bytes | sanduhrs |
Comments
Comment #1
walkah commentedcommitted. thanks!
Comment #2
(not verified) commented