Issue #3126140 by joseph.olstad, Taran2L, longwave, mcdruid, Ayesh, Fabianx, MustangGB: PHP 7.4 notice in run-tests.sh
parent
460ff5dc3c
commit
230c34e7b8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue