summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Funk <mfunk@xulonpress.com>2012-02-23 21:07:21 +0100
committerMike Funk <mfunk@xulonpress.com>2012-02-23 21:07:21 +0100
commit64d72b1b85efd3810a036b54d40d36ade6cd9f86 (patch)
treec034406cd1eefdfdecfc22ff3c7086a92efa3c67
parentc15e17c3fe6110a4e08a56cde3514c02359fe080 (diff)
removed active_rec change.
-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))
{