From fb3cc1832f54432b77dee241ae10b0a0cb14b767 Mon Sep 17 00:00:00 2001 From: jgen Date: Sat, 11 Mar 2017 23:19:37 -0800 Subject: [PATCH] Use triple equals, because PHP. --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index 64b49bee..21a451ae 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -1602,7 +1602,7 @@ function score_assert_handler($file, $line, $code, $desc = null) { function _version_check() { if(MIN_PHP_VERSION) { - if(version_compare(phpversion(), MIN_PHP_VERSION, ">=") == FALSE) { + if(version_compare(phpversion(), MIN_PHP_VERSION, ">=") === FALSE) { print " Shimmie (SCore Engine) does not support versions of PHP lower than ".MIN_PHP_VERSION." (PHP reports that it is version ".phpversion().")