From 39fe9852548b463f556b833da7a36dc71da6df33 Mon Sep 17 00:00:00 2001 From: seansan Date: Tue, 13 Jun 2017 15:54:32 +0200 Subject: [PATCH] Fix mem limit Described here: https://magento.com/tech-resources/bug-tracking/issue/index/id/1540/ --- app/code/core/Mage/Catalog/Model/Product/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }