commit | 912f1bcbc3d4f9b09695ab784d6985efbc4c9235 | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Tue Jan 15 03:34:12 2013 +0100 |
committer | vlakoff <vlakoff@gmail.com> | Tue Jan 15 03:34:12 2013 +0100 |
tree | 75375decf2d989b3832ff207683ab1a34a66770d | |
parent | 1228fe27bc1f22838cd80c5fe33c37274faf0e24 [diff] [blame] |
A few adjustments to previous commit
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index 978fc6a..ac377d9 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php
@@ -1202,7 +1202,7 @@ */ 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;