Skip to content

Commit

Permalink
Fix #1097 correct parameter values in query
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Apr 19, 2017
1 parent 6ac9da9 commit f21ba95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetaModels/DataAccess/ItemPersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit f21ba95

Please sign in to comment.