$this->headers2 = $headers2;
$this->aligns2 = $aligns2;
$this->numcols = count($this->headers);
- $tcols = count($this->headers2);
+ $tcols = count_array($this->headers2);
if ($tcols > $this->numcols)
$this->numcols = $tcols;
for ($i = 0; $i < $this->numcols; $i++)