derick Wed Dec 11 15:10:59 2002 EDT Modified files: (Branch: PHP_4_3) /php4 run-tests.php Log: - Make it also work when you press enter instead of typing 'y' Index: php4/run-tests.php diff -u php4/run-tests.php:1.119.2.11 php4/run-tests.php:1.119.2.12 --- php4/run-tests.php:1.119.2.11 Wed Dec 11 11:49:27 2002 +++ php4/run-tests.php Wed Dec 11 15:10:57 2002 @@ -335,7 +335,7 @@ */ /* Ask the user to provide an email address, so that QA team can contact the user */ - if (!strncasecmp($user_input, 'y', 1)) { + if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == +0) { echo "Please enter your email address: "; flush(); $fp = fopen("php://stdin", "r+");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php