summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/pdo/pdo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/pdo_driver.php b/system/database/drivers/pdo/pdo_driver.php
index dbbcda342..b4ad52a45 100644
--- a/system/database/drivers/pdo/pdo_driver.php
+++ b/system/database/drivers/pdo/pdo_driver.php
@@ -622,7 +622,7 @@ class CI_DB_pdo_driver extends CI_DB {
{
if ($this->pdodriver === 'cubrid' OR $this->pdodriver === 'sqlite')
{
- $offset = ($offset === 0) ? '' : $offset.', ';
+ $offset = ($offset == 0) ? '' : $offset.', ';
return $sql.'LIMIT '.$offset.$limit;
}