From 907be4a3e464b1deb2c536aea1915f13d6f53db9 Mon Sep 17 00:00:00 2001 From: kjmtsh Date: Tue, 15 Jul 2014 07:58:19 +0000 Subject: [PATCH] fixed the typo git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@948629 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- query.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/query.class.php b/query.class.php index f23feba..ac222e8 100644 --- a/query.class.php +++ b/query.class.php @@ -625,7 +625,6 @@ class PDOSQLiteDriver { $val = trim(array_shift($ins_data_array)); $ins_data_assoc[trim($col)] = $val; } - $ins_data_assoc = array_combine($col_array, $ins_array); $condition = ''; foreach ($unique_keys_for_cond as $unique_key) { if (strpos($unique_key, ',') !== false) { @@ -641,7 +640,6 @@ class PDOSQLiteDriver { continue; } } - $condition = rtrim($condition, ' AND '); } else { $col = trim($unique_key); if (isset($ins_data_assoc[$col])) {