// 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:
1 parent
2600c7c0a9
commit
e01d1de346
1 file changed
+1
-1
+1
-1
@@ -850,7 +850,7 @@ abstract class ModuleCore
|
||||
foreach ($modules_dir as $module)
|
||||
{
|
||||
// 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);
|
||||
// memory_threshold in MB
|
||||
|
||||
Reference in new issue
Block a user