Skip to content

Commit 5b89e67

Browse files
committed
* array_merge is more ticklish in php5
1 parent 17b9b2d commit 5b89e67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pear/PEAR/Frontend/CLI.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ function _endTable()
304304
}
305305
for ($i = 0; $i < sizeof($table_data); $i++) {
306306
extract($table_data[$i]);
307+
if (!is_array($rowparams)) {
308+
$rowparams = array();
309+
}
310+
if (!is_array($colparams)) {
311+
$colparams = array();
312+
}
307313
$rowlines = array();
308314
if ($height > 1) {
309315
for ($c = 0; $c < sizeof($data); $c++) {

0 commit comments

Comments
 (0)