diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-12 16:14:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-12 16:14:32 +0000 |
commit | 2d8945247bd2f5cd089c3accef78b7b4e8194e57 (patch) | |
tree | cbd3b75fd278ba8e7fc2858ddf3d5c53d2ba93a9 | |
parent | 81c02040f06847ae9e145fdcee2bd39322e51b06 (diff) | |
download | php-git-2d8945247bd2f5cd089c3accef78b7b4e8194e57.tar.gz |
Fix a possible E_NOTICE warning message.
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 3 insertions, 1 deletions
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'); |