diff options
| author | Tomas V.V.Cox <cox@php.net> | 2002-03-26 16:31:13 +0000 |
|---|---|---|
| committer | Tomas V.V.Cox <cox@php.net> | 2002-03-26 16:31:13 +0000 |
| commit | b5f477ba007d58564a9458fb4653a501978c705a (patch) | |
| tree | 4cd57864369664c54c0b863e99d8b3b8f1e74071 /pear | |
| parent | 0e20c6e38353c9e819052d3e7ad0f40caf7c131b (diff) | |
| download | php-git-b5f477ba007d58564a9458fb4653a501978c705a.tar.gz | |
E_ALL fixes
Diffstat (limited to 'pear')
| -rw-r--r-- | pear/PEAR/Command/Config.php | 2 | ||||
| -rw-r--r-- | pear/PEAR/Frontend/CLI.php | 2 |
2 files changed, 3 insertions, 1 deletions
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); |
