iliaa Thu Dec 12 11:14:33 2002 EDT
Modified files:
/php4 run-tests.php
Log:
Fix a possible E_NOTICE warning message.
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.132 php4/run-tests.php:1.133
--- php4/run-tests.php:1.132 Wed Dec 11 15:13:43 2002
+++ php4/run-tests.php Thu Dec 12 11:14:32 2002
@@ -381,7 +381,9 @@
$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');
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php