Issue #3126140 by joseph.olstad, Taran2L, longwave, mcdruid, Ayesh, Fabianx, MustangGB: PHP 7.4 notice in run-tests.sh

merge-requests/26/head
mcdruid 2020-05-06 17:37:55 +01:00
parent 460ff5dc3c
commit 230c34e7b8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {