summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/PEAR/Frontend/CLI.php2
1 files changed, 1 insertions, 1 deletions
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');
}