From: Tomas V.V.Cox Date: Tue, 26 Mar 2002 16:31:13 +0000 (+0000) Subject: E_ALL fixes X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1027 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5f477ba007d58564a9458fb4653a501978c705a;p=php E_ALL fixes --- diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php index d1a2109468..1fdcf32747 100644 --- a/pear/PEAR/Command/Config.php +++ b/pear/PEAR/Command/Config.php @@ -63,6 +63,8 @@ class PEAR_Command_Config extends PEAR_Command_Common { $cf =& $this->config; $failmsg = ''; + $params[0] = (isset($params[0])) ? $params[0] : null; + $params[1] = (isset($params[1])) ? $params[1] : null; switch ($command) { case 'config-show': { $keys = $cf->getKeys(); diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index fd7716aacd..ae6d9c0436 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -250,7 +250,7 @@ class PEAR_Frontend_CLI extends PEAR } else { $attribs = $rowparams; } - $w = $width[$c]; + $w = isset($width[$c]) ? $width[$c] : 0; //$cell = $data[$c]; $cell = $rowlines[$c][$r]; $l = strlen($cell);