From 230c34e7b88d1e2e8f14adf16b7901ba6cae4348 Mon Sep 17 00:00:00 2001 From: mcdruid Date: Wed, 6 May 2020 17:37:55 +0100 Subject: [PATCH] Issue #3126140 by joseph.olstad, Taran2L, longwave, mcdruid, Ayesh, Fabianx, MustangGB: PHP 7.4 notice in run-tests.sh --- scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index a42215e8998..8c0be40ef34 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -729,7 +729,7 @@ function simpletest_script_print_error($message) { */ function simpletest_script_print($message, $color_code) { global $args; - if ($args['color']) { + if (!empty($args['color'])) { echo "\033[" . $color_code . "m" . $message . "\033[0m"; } else {