From: Stig Bakken Date: Sun, 7 Jul 2002 20:41:20 +0000 (+0000) Subject: * silence warning X-Git-Tag: INITIAL_IMPORT_SOURCEFORGE~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a56a51cc901547731e2df8cf4f72f51886c9bc;p=php * silence warning --- diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index e5ef34d39c..4c0802e5cf 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -130,7 +130,7 @@ class PEAR_Frontend_CLI extends PEAR $fp = fopen("php://stdin", "r"); foreach ($prompts as $key => $prompt) { $type = $types[$key]; - $default = $defaults[$key]; + $default = @$defaults[$key]; if ($type == 'password') { system('stty -echo'); }