]> granicus.if.org Git - php/commitdiff
- Fix warnings
authorMarcus Boerger <helly@php.net>
Thu, 1 Dec 2005 08:49:57 +0000 (08:49 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 1 Dec 2005 08:49:57 +0000 (08:49 +0000)
run-tests.php

index a681e023c78bf81e6b7f5e76ef4aed13ff050121..a9e20aef40aec5c01e19da48a067697d13d36d85 100755 (executable)
@@ -521,7 +521,10 @@ if ($just_save_results || !getenv('NO_INTERACTION')) {
                 * Make an archive of all the failed tests
                 * Send an email
                 */
-               
+               if ($just_save_results)
+               {
+                       $user_input = 's';
+               }
                /* Ask the user to provide an email address, so that QA team can contact the user */
                if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
                        echo "\nPlease enter your email address.\n(Your address will be mangled so that it will not go out on any\nmailinglist in plain text): ";