From eb2e46cad9c80099b25716ab7b81c13c3f591f44 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 19 May 2019 10:33:19 +0200 Subject: [PATCH] use strict type comparison --- inc/infoutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/infoutils.php b/inc/infoutils.php index 2b37b4afba..efed330412 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -135,7 +135,7 @@ function check(){ $mem = (int) php_to_byte(ini_get('memory_limit')); if($mem){ - if($mem == -1) { + if($mem === -1) { msg('PHP memory is unlimited', 1); } else if($mem < 16777216){ msg('PHP is limited to less than 16MB RAM ('.filesize_h($mem).'). Increase memory_limit in php.ini',-1);