summaryrefslogtreecommitdiffstats
path: root/system/libraries/Table.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-02-26 16:40:15 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-02-26 16:40:15 +0100
commit964366de070c20636d9037ff06d98081b9d1b0cc (patch)
treef91b0c3d297a573300a9a407b4223f73bdafebf9 /system/libraries/Table.php
parentaf368e1f1a776247b10c4ae25d879b6e6afadfe0 (diff)
changed conditional for empty cells to not match on variables that would be loosely cast as an empty string
Diffstat (limited to 'system/libraries/Table.php')
-rw-r--r--system/libraries/Table.php2
1 files changed, 1 insertions, 1 deletions
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;
}