diff --git a/app/code/core/Mage/Catalog/Model/Product/Image.php b/app/code/core/Mage/Catalog/Model/Product/Image.php index e11958703ba..2f82065a65f 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Image.php +++ b/app/code/core/Mage/Catalog/Model/Product/Image.php @@ -183,7 +183,7 @@ protected function _getMemoryLimit() { $memoryLimit = trim(strtoupper(ini_get('memory_limit'))); - if (!isSet($memoryLimit[0])){ + if (!isSet($memoryLimit)){ $memoryLimit = "128M"; }