diff options
author | Mike Funk <mfunk@xulonpress.com> | 2012-02-24 15:25:49 +0100 |
---|---|---|
committer | Mike Funk <mfunk@xulonpress.com> | 2012-02-24 15:25:49 +0100 |
commit | ceec45609be0ebc2319e9e21a25eb1642f4eef06 (patch) | |
tree | 74e3a0ea7160f83f7ff1188f66e018b7490562a7 /system | |
parent | baf07dd56b15e7c11025fd29a922c6cbb716da29 (diff) |
fixed active record inconsistency.
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_active_rec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 429f65186..424735157 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -988,7 +988,7 @@ class CI_DB_active_record extends CI_DB_driver { */ public function limit($value, $offset = NULL) { - $this->ar_limit = $value; + $this->ar_limit = (int) $value; if ( ! is_null($offset)) { |