mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
b93e5c13ea
commit
cb27bcc21a
1 changed files with 3 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue