summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2003-10-27 06:52:14 +0000
committerStig Bakken <ssb@php.net>2003-10-27 06:52:14 +0000
commit5b89e673341c9b73f68ae7a86156c5a148ef74e9 (patch)
tree67491204c91b408edc9aeddaa2563ac71c81fdb8
parent17b9b2dc85ce381530a631d0510e4cf2d7ec3a21 (diff)
downloadphp-git-5b89e673341c9b73f68ae7a86156c5a148ef74e9.tar.gz
* array_merge is more ticklish in php5
-rw-r--r--pear/PEAR/Frontend/CLI.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php
index 7604077d46..941ff96535 100644
--- a/pear/PEAR/Frontend/CLI.php
+++ b/pear/PEAR/Frontend/CLI.php
@@ -304,6 +304,12 @@ class PEAR_Frontend_CLI extends PEAR
}
for ($i = 0; $i < sizeof($table_data); $i++) {
extract($table_data[$i]);
+ if (!is_array($rowparams)) {
+ $rowparams = array();
+ }
+ if (!is_array($colparams)) {
+ $colparams = array();
+ }
$rowlines = array();
if ($height > 1) {
for ($c = 0; $c < sizeof($data); $c++) {