From d9967b9a7751bc5251d7ad40590304c161f42091 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Thu, 1 Mar 2012 12:15:58 -0500 Subject: [PATCH] -function incorrectly capitalized --- airtime_mvc/application/forms/customfilters/ImageSize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/forms/customfilters/ImageSize.php b/airtime_mvc/application/forms/customfilters/ImageSize.php index 69db3cb82..17c40228e 100644 --- a/airtime_mvc/application/forms/customfilters/ImageSize.php +++ b/airtime_mvc/application/forms/customfilters/ImageSize.php @@ -6,7 +6,7 @@ class Zend_Filter_ImageSize implements Zend_Filter_Interface { throw new Zend_Filter_Exception('Image does not exist: ' . $value); } - $image = imageCreateFromString(file_get_contents($value)); + $image = imagecreatefromstring(file_get_contents($value)); if (false === $image) { throw new Zend_Filter_Exception('Can\'t load image: ' . $value); }