From 38a56a51cc901547731e2df8cf4f72f51886c9bc Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sun, 7 Jul 2002 20:41:20 +0000 Subject: [PATCH] * silence warning --- pear/PEAR/Frontend/CLI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.50.1