From 964366de070c20636d9037ff06d98081b9d1b0cc Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 26 Feb 2008 15:40:15 +0000 Subject: changed conditional for empty cells to not match on variables that would be loosely cast as an empty string --- system/libraries/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries') diff --git a/system/libraries/Table.php b/system/libraries/Table.php index d1c525486..439fe2ef9 100644 --- a/system/libraries/Table.php +++ b/system/libraries/Table.php @@ -261,7 +261,7 @@ class CI_Table { { $out .= $this->template['cell_'.$name.'start']; - if ($cell == "") + if ($cell === "") { $out .= $this->empty_cells; } -- cgit v1.2.3-24-g4f1b