fixes #3961 options in Html::tableCells,

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-01-24 16:37:47 +00:00
parent b93e5c13ea
commit cb27bcc21a

View file

@ -524,9 +524,11 @@ class HtmlHelper extends AppHelper {
}
foreach ($data as $line) {
$count++;
$cellsOut = $cellOptions = array();
$cellsOut = array();
$i = 0;
foreach ($line as $cell) {
$cellOptions = array();
if (is_array($cell)) {
$cellOptions = $cell[1];
$cell = $cell[0];