// fixed little bug on Module class

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12541 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2012-01-18 16:46:45 +00:00
parent 2600c7c0a9
commit e01d1de346
+1 -1
View File
@@ -850,7 +850,7 @@ abstract class ModuleCore
foreach ($modules_dir as $module) foreach ($modules_dir as $module)
{ {
// Memory usage checking // Memory usage checking
if (function_exists('memory_get_usage') && $memory_limit !== -1) if (function_exists('memory_get_usage') && $memory_limit != '-1')
{ {
$current_memory = memory_get_usage(true); $current_memory = memory_get_usage(true);
// memory_threshold in MB // memory_threshold in MB