summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/image/image.api.php4
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';
}
/**