summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-07-07 20:41:20 +0000
committerStig Bakken <ssb@php.net>2002-07-07 20:41:20 +0000
commit38a56a51cc901547731e2df8cf4f72f51886c9bc (patch)
treeea45552643100f0e8d063d1cda9d84a5d1707f02
parent1b5ac1386e5d99d3b6c387058367b7a53b53f2fc (diff)
downloadphp-git-38a56a51cc901547731e2df8cf4f72f51886c9bc.tar.gz
* silence warning
-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');
}