We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Database::prepare()
Database::prepareStatement()
1 parent 3276a17 commit 9ec543eCopy full SHA for 9ec543e
wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php
@@ -275,10 +275,10 @@ public function save()
275
// articles
276
$conditions = new PreparedStatementConditionBuilder();
277
$conditions->add("userID IN (?)", [$this->mergedUserIDs]);
278
- $sql = "UPDATE wcf" . WCF_N . "_article
+ $sql = "UPDATE wcf1_article
279
SET userID = ?
280
" . $conditions;
281
- $statement = WCF::getDB()->prepareStatement($sql);
+ $statement = WCF::getDB()->prepare($sql);
282
$statement->execute(\array_merge([$this->destinationUserID], $conditions->getParameters()));
283
284
// delete merged users
0 commit comments