CodeIgniter Forums
Table.php set_empty() bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Table.php set_empty() bug (/showthread.php?tid=18927)



Table.php set_empty() bug - El Forum - 05-22-2009

[eluser]geocine[/eluser]
line 263:

Code:
if ($cell === "")
{
  $out .= $this->empty_cells;
}

if ($cell === "")

to this:

Code:
if ($cell == "")
{
  $out .= $this->empty_cells;
}

I think cell is type string? isn't it. I am not a PHP expert but I guess this is correct.