diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-21 23:22:59 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-21 23:22:59 -0700 |
commit | ba85bebddd4819050678e8487f2c94f407d1165b (patch) | |
tree | c0b7a6d0aed7c226707caded251824eb401e1a72 | |
parent | 4bfa5be92066f500602ad651b2b8fcbd16a70a7a (diff) | |
download | brdo-ba85bebddd4819050678e8487f2c94f407d1165b.tar.gz brdo-ba85bebddd4819050678e8487f2c94f407d1165b.tar.bz2 |
Issue #1187898 by droplet, Setca: Fixed hook_image_effect_info_alter() - sample function body uses wrong variable name.
-rw-r--r-- | modules/image/image.api.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'; } /** |