- Fix warnings

This commit is contained in:
Marcus Boerger 2005-12-01 08:49:57 +00:00
parent 57fa8a5782
commit 885a80dabc

View File

@ -521,7 +521,10 @@ if ($just_save_results || !getenv('NO_INTERACTION')) {
* Make an archive of all the failed tests * Make an archive of all the failed tests
* Send an email * 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 */ /* 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) { 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): "; 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): ";