summaryrefslogtreecommitdiffstats
path: root/system/database/DB_query_builder.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-01-15 03:34:12 +0100
committervlakoff <vlakoff@gmail.com>2013-01-15 03:34:12 +0100
commit912f1bcbc3d4f9b09695ab784d6985efbc4c9235 (patch)
tree75375decf2d989b3832ff207683ab1a34a66770d /system/database/DB_query_builder.php
parent1228fe27bc1f22838cd80c5fe33c37274faf0e24 (diff)
A few adjustments to previous commit
Diffstat (limited to 'system/database/DB_query_builder.php')
-rw-r--r--system/database/DB_query_builder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index 978fc6af7..ac377d996 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -1202,7 +1202,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
*/
public function limit($value, $offset = FALSE)
{
- $value === NULL OR $this->qb_limit = (int) $value;
+ is_null($value) OR $this->qb_limit = (int) $value;
empty($offset) OR $this->qb_offset = (int) $offset;
return $this;