diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-26 13:43:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-26 13:43:16 +0100 |
commit | c6953f4077fe3ee394abb37eaa0575527bd013cc (patch) | |
tree | dcdc5b8e7f0282ab6096435901711b55c29de26c /system/database/drivers/cubrid/cubrid_driver.php | |
parent | 69a6093da35640482a8394ca66686e045304b0e3 (diff) |
Fix _limit()
Diffstat (limited to 'system/database/drivers/cubrid/cubrid_driver.php')
-rw-r--r-- | system/database/drivers/cubrid/cubrid_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/cubrid/cubrid_driver.php b/system/database/drivers/cubrid/cubrid_driver.php index 1cfaf3e42..b89746b7d 100644 --- a/system/database/drivers/cubrid/cubrid_driver.php +++ b/system/database/drivers/cubrid/cubrid_driver.php @@ -696,7 +696,7 @@ class CI_DB_cubrid_driver extends CI_DB { */ protected function _limit($sql, $limit, $offset) { - return $sql.'LIMIT '.($offset == 0 ? '' : ', ').$limit; + return $sql.'LIMIT '.($offset == 0 ? '' : $offset.', ').$limit; } // -------------------------------------------------------------------- |