summaryrefslogtreecommitdiffstats
path: root/system/libraries/Table.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-04-03 18:27:45 +0200
committerAndrey Andreev <narf@bofh.bg>2012-04-03 18:27:45 +0200
commit38d0e93746f13b12af360eb614ba5353e93ecf83 (patch)
treeaaaf5eba673804e30fc7670166f50b4a9c4553de /system/libraries/Table.php
parent2b39d9d1b837c92a0901ea9f0385172b763e18c8 (diff)
Some very minor code style changes and comment fixes
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 992b057ad..3777d29ff 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -251,7 +251,7 @@ class CI_Table {
}
elseif (is_array($table_data))
{
- $set_heading = (count($this->heading) === 0 AND $this->auto_heading == FALSE) ? FALSE : TRUE;
+ $set_heading = (count($this->heading) !== 0 OR $this->auto_heading != FALSE);
$this->_set_from_array($table_data, $set_heading);
}
}