From: Stig Bakken Date: Mon, 27 Oct 2003 06:52:14 +0000 (+0000) Subject: * array_merge is more ticklish in php5 X-Git-Tag: RELEASE_2_0_0RC1~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b89e673341c9b73f68ae7a86156c5a148ef74e9;p=php * array_merge is more ticklish in php5 --- 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++) {