From 7cc21d98c3e377c44993f5c22e2c1f5aa99ef070 Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Wed, 13 Jun 2007 18:53:14 +0000 Subject: Fix liberty_get_function. --- FisheyeImage.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FisheyeImage.php') diff --git a/FisheyeImage.php b/FisheyeImage.php index c002c16..a18638b 100644 --- a/FisheyeImage.php +++ b/FisheyeImage.php @@ -1,6 +1,6 @@ getConfig( 'image_processor' ) == 'magickwand' ) ? 'liberty_magickwand_resize_image' : 'liberty_gd_resize_image'; + $resizeFunc = liberty_get_function( 'resize' ); + if( !$resizeFunc( $fileHash ) ) { $this->mErrors['upload'] = $fileHash['errors']; } else { -- cgit v1.3