diff options
| author | Derick Rethans <derick@php.net> | 2002-12-11 20:10:57 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2002-12-11 20:10:57 +0000 |
| commit | ebb708b068716bb3034892dbfc61f28093af791e (patch) | |
| tree | 150ea93799e3d74d6404f5d9abd46ccaa5114ef4 /run-tests.php | |
| parent | d6fed2348264dc1b05c855d3d5fd8879d191dbe8 (diff) | |
| download | php-git-ebb708b068716bb3034892dbfc61f28093af791e.tar.gz | |
- Make it also work when you press enter instead of typing 'y'
Diffstat (limited to 'run-tests.php')
| -rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 130294a164..03fd27c08e 100755 --- a/run-tests.php +++ b/run-tests.php @@ -335,7 +335,7 @@ if ($sum_results['FAILED'] && !getenv('NO_INTERACTION')) { */ /* 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+"); |
