summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorMike Funk <mfunk@xulonpress.com>2012-02-24 15:25:49 +0100
committerMike Funk <mfunk@xulonpress.com>2012-02-24 15:25:49 +0100
commitceec45609be0ebc2319e9e21a25eb1642f4eef06 (patch)
tree74e3a0ea7160f83f7ff1188f66e018b7490562a7 /system
parentbaf07dd56b15e7c11025fd29a922c6cbb716da29 (diff)
fixed active record inconsistency.
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_active_rec.php2
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))
{