cvs: php4 / run-tests.php
| From: | Ilia Alshanetsky | Date: | Thu, 12 Dec 2002 16:14:33 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17184@lists.php.net to get a copy of this message | ||
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');