Skip to content

Commit

Permalink
Fix #1097 correct parameter index in query
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed May 30, 2017
1 parent 94d29e9 commit 7e6a939
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 (%3$s)',
'UPDATE %1$s %%s=? WHERE id IN (%2$s)',
$this->tableName,
$this->buildDatabaseParameterList($ids)
)
Expand Down

0 comments on commit 7e6a939

Please sign in to comment.