From c845cecb6fb709d3bc81e0519688ff2bd5a5fe61 Mon Sep 17 00:00:00 2001 From: xnoguer Date: Sun, 23 Apr 2023 19:00:16 -0400 Subject: [PATCH] Fixing test --- include/tests_php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_php b/include/tests_php index 858bc14b..04502f68 100644 --- a/include/tests_php +++ b/include/tests_php @@ -285,7 +285,7 @@ # Test : PHP-2368 # Description : Check php register_globals option # Notes : Don't test for it if PHP version is 5.4.0 or later (it has been removed) - if [ -n "${PHPINIFILE}" -a -n "${PHPVERSION}" -a -n "${GREPBINARY} -E" ]; then + if [ -n "${PHPINIFILE}" -a -n "${PHPVERSION}" -a -n "${GREPBINARY}" ]; then if [ -f "${PHPINIFILE}" ]; then FIND=$(echo ${PHPVERSION} | ${GREPBINARY} -E "^(4.|5.[0-3])") if [ -z "${FIND}" ]; then