diff options
Diffstat (limited to 'lib/private/DB/AdapterSqlite.php')
-rw-r--r-- | lib/private/DB/AdapterSqlite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/AdapterSqlite.php b/lib/private/DB/AdapterSqlite.php index 43ec4a90c62..5731ee1721a 100644 --- a/lib/private/DB/AdapterSqlite.php +++ b/lib/private/DB/AdapterSqlite.php @@ -71,7 +71,7 @@ class AdapterSqlite extends Adapter { } $fieldList = '`' . implode('`,`', array_keys($input)) . '`'; $query = "INSERT INTO `$table` ($fieldList) SELECT " - . str_repeat('?,', count($input)-1).'? ' + . str_repeat('?,', count($input) - 1).'? ' . " WHERE NOT EXISTS (SELECT 1 FROM `$table` WHERE "; $inserts = array_values($input); |