From: Ilia Alshanetsky Date: Thu, 12 Dec 2002 16:14:32 +0000 (+0000) Subject: Fix a possible E_NOTICE warning message. X-Git-Tag: RELEASE_1_0b3~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d8945247bd2f5cd089c3accef78b7b4e8194e57;p=php Fix a possible E_NOTICE warning message. --- 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');