initialised var to kill warning

This commit is contained in:
Ralf Becker 2005-06-11 20:13:38 +00:00
parent 68074ad82e
commit 6fd3abff3b

View File

@ -447,6 +447,8 @@
'.col' => $this->num2chrs($show_c-1), '.col' => $this->num2chrs($show_c-1),
'.row' => $show_row '.row' => $show_row
); );
$rows = array();
$data = &$grid['data']; $data = &$grid['data'];
reset($data); reset($data);
if (isset($data[0])) if (isset($data[0]))
@ -489,7 +491,6 @@
$cl = isset($this->class_conf[$cl]) ? $this->class_conf[$cl] : $cl; $cl = isset($this->class_conf[$cl]) ? $this->class_conf[$cl] : $cl;
$rows[".$row"] .= $this->html->formatOptions($cl,'class'); $rows[".$row"] .= $this->html->formatOptions($cl,'class');
$rows[".$row"] .= $this->html->formatOptions($class,',valign'); $rows[".$row"] .= $this->html->formatOptions($class,',valign');
reset ($cols); reset ($cols);
$row_data = array(); $row_data = array();
for ($c = 0; True /*list($col,$cell) = each($cols)*/; ++$c) for ($c = 0; True /*list($col,$cell) = each($cols)*/; ++$c)