diff options
author | vlakoff <vlakoff@gmail.com> | 2013-01-15 03:34:12 +0100 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-01-15 03:34:12 +0100 |
commit | 912f1bcbc3d4f9b09695ab784d6985efbc4c9235 (patch) | |
tree | 75375decf2d989b3832ff207683ab1a34a66770d /system/database | |
parent | 1228fe27bc1f22838cd80c5fe33c37274faf0e24 (diff) |
A few adjustments to previous commit
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_query_builder.php | 2 |
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; |