From ba85bebddd4819050678e8487f2c94f407d1165b Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 21 Jun 2011 23:22:59 -0700 Subject: Issue #1187898 by droplet, Setca: Fixed hook_image_effect_info_alter() - sample function body uses wrong variable name. --- modules/image/image.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/image/image.api.php b/modules/image/image.api.php index 5b635ec74..acb3f9c19 100644 --- a/modules/image/image.api.php +++ b/modules/image/image.api.php @@ -55,8 +55,8 @@ function hook_image_effect_info() { */ function hook_image_effect_info_alter(&$effects) { // Override the Image module's crop effect with more options. - $effect['image_crop']['effect callback'] = 'mymodule_crop_effect'; - $effect['image_crop']['form callback'] = 'mymodule_crop_form'; + $effects['image_crop']['effect callback'] = 'mymodule_crop_effect'; + $effects['image_crop']['form callback'] = 'mymodule_crop_form'; } /** -- cgit v1.2.3