summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-19 12:06:02 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-19 12:06:02 +0200
commitc9b924c1498847d8f324d81c8994fff0b95f26dc (patch)
treec78ca7d7ad67df0cf69414180e36a037c8c45970 /system/database/DB_driver.php
parent94611df88cf99ae530258a25e2051e901b9ffcc7 (diff)
Remove _limit()'s extra parameters and qb_limit, qb_offset unneeded typecasts + add _compile_group_by() method
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 10306d721..43ea10023 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1130,7 +1130,7 @@ abstract class CI_DB_driver {
return 'UPDATE '.$table.' SET '.implode(', ', $valstr)
.$this->_compile_where()
.(empty($this->qb_orderby) ? '' : ' ORDER BY '.implode(', ', $this->qb_orderby))
- .($this->qb_limit ? ' LIMIT '.(int) $this->qb_limit : '');
+ .($this->qb_limit ? ' LIMIT '.$this->qb_limit : '');
}
// --------------------------------------------------------------------