diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:22:57 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:22:57 +0200 |
commit | e732025fb36556529cbc5b826d0671d60bac6a57 (patch) | |
tree | 77497f21c7d943e766b2c1c45ab43632877fbddd /system/database/drivers/pdo | |
parent | ecf7d93acbc74bf07a809c2a1577527562509e42 (diff) |
Fixing PDO bug introduced in 48a2baf0e288accd206f5da5031d29076e130792
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r-- | system/database/drivers/pdo/pdo_driver.php | 2 |
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; } |