summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authoraquilax <aquilax@gmail.com>2016-12-10 08:15:12 +0100
committeraquilax <aquilax@gmail.com>2016-12-10 08:15:12 +0100
commit4827811fd1e26bf33ca396eaf273cb2b4190ff38 (patch)
tree043bfa1125201855bb3b92c96d5b92daa0f4f150 /system/database
parentb2eca2b79fc619e504d2af4ac7b081bdf497d130 (diff)
`_random_keyword` must be array
Signed-off-by: aquilax <aquilax@gmail.com>
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php b/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php
index 62690139c..cb06c2a9d 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php
@@ -66,7 +66,7 @@ class CI_DB_pdo_sqlite_driver extends CI_DB_pdo_driver {
*
* @var array
*/
- protected $_random_keyword = ' RANDOM()';
+ protected $_random_keyword = array('RANDOM()', 'RANDOM()');
// --------------------------------------------------------------------