]> granicus.if.org Git - php/commitdiff
Fix a possible E_NOTICE warning message.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 12 Dec 2002 16:14:32 +0000 (16:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 12 Dec 2002 16:14:32 +0000 (16:14 +0000)
run-tests.php

index e8caf90e03cfd3079d02f3c55c22a6d52ee1fde6..9c2d9a5b4832a753874ea1d8d020c386ad11891a 100755 (executable)
@@ -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');