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); }