Skip to content

Commit

Permalink
fix: queries with the new base mapper in BoardMapper
Browse files Browse the repository at this point in the history
Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Feb 9, 2022
1 parent 131b33f commit e07a456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Db/BoardMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ public function transferOwnership($ownerId, $newOwnerId) {
'owner' => $ownerId,
'newOwner' => $newOwnerId
];
$sql = "UPDATE `{$this->tableName}` SET `owner` = :newOwner WHERE `owner` = :owner";
$stmt = $this->execute($sql, $params);
$sql = "UPDATE `*PREFIX*{$this->tableName}` SET `owner` = :newOwner WHERE `owner` = :owner";
$stmt = $this->db->executeQuery($sql, $params);
$stmt->closeCursor();
}
}

0 comments on commit e07a456

Please sign in to comment.