diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-02-26 16:40:15 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-02-26 16:40:15 +0100 |
commit | 964366de070c20636d9037ff06d98081b9d1b0cc (patch) | |
tree | f91b0c3d297a573300a9a407b4223f73bdafebf9 /system | |
parent | af368e1f1a776247b10c4ae25d879b6e6afadfe0 (diff) |
changed conditional for empty cells to not match on variables that would be loosely cast as an empty string
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Table.php | 2 |
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;
}
|