From 6f86ca431f5d1b19aabbbf1ce9ead6d9e351383a Mon Sep 17 00:00:00 2001 From: Christian Schiffler Date: Fri, 17 Mar 2017 14:47:07 +0100 Subject: [PATCH] Fix #1097 correct parameter values in query --- src/MetaModels/DataAccess/ItemPersister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MetaModels/DataAccess/ItemPersister.php b/src/MetaModels/DataAccess/ItemPersister.php index 9b75d3f8c..f676396e3 100644 --- a/src/MetaModels/DataAccess/ItemPersister.php +++ b/src/MetaModels/DataAccess/ItemPersister.php @@ -212,7 +212,7 @@ private function saveRawColumns(array $columns, array $ids) ->database ->prepare( sprintf( - 'UPDATE %1$s %%s=? WHERE id IN (%2$s)', + 'UPDATE %1$s %%s WHERE id IN (%2$s)', $this->tableName, $this->buildDatabaseParameterList($ids) )