commit | ceec45609be0ebc2319e9e21a25eb1642f4eef06 | [log] [tgz] |
---|---|---|
author | Mike Funk <mfunk@xulonpress.com> | Fri Feb 24 09:25:49 2012 -0500 |
committer | Mike Funk <mfunk@xulonpress.com> | Fri Feb 24 09:25:49 2012 -0500 |
tree | 74e3a0ea7160f83f7ff1188f66e018b7490562a7 | |
parent | baf07dd56b15e7c11025fd29a922c6cbb716da29 [diff] |
fixed active record inconsistency.
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 429f651..4247351 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php
@@ -988,7 +988,7 @@ */ public function limit($value, $offset = NULL) { - $this->ar_limit = $value; + $this->ar_limit = (int) $value; if ( ! is_null($offset)) {