Skip to content

Commit

Permalink
fix(formanswer): malformed SQL to delete answers
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
btry committed Jun 4, 2020

Unverified

No user is associated with the committer email.
1 parent 1264ac1 commit e26a4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
@@ -1153,8 +1153,8 @@ public function post_purgeItem() {

$formAnswerFk = PluginFormcreatorFormAnswer::getForeignKeyField();
$DB->delete(
self::getTable(), [
$formAnswerFk,
PluginFormcreatorAnswer::getTable(), [
$formAnswerFk => $this->getID(),
]
);

0 comments on commit e26a4eb

Please sign in to comment.