From 2d8945247bd2f5cd089c3accef78b7b4e8194e57 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 12 Dec 2002 16:14:32 +0000 Subject: [PATCH] Fix a possible E_NOTICE warning message. --- run-tests.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index e8caf90e03..9c2d9a5b48 100755 --- a/run-tests.php +++ b/run-tests.php @@ -381,7 +381,9 @@ if ($sum_results['FAILED'] && !getenv('NO_INTERACTION')) { $failed_tests_data .= "Bison:\n". @shell_exec('bison --version'). "\n"; $failed_tests_data .= "\n"; - $failed_tests_data .= "User's E-mail: ".$user_email."\n\n"; + if (isset($user_email)) { + $failed_tests_data .= "User's E-mail: ".$user_email."\n\n"; + } $failed_tests_data .= $sep . "PHPINFO" . $sep; $failed_tests_data .= shell_exec($php.' -dhtml_errors=0 -i'); -- 2.50.1