From b838b594cde9b84fc3ddca2b8750ee39deda0124 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 19 Oct 2021 22:23:39 +0200 Subject: [PATCH] contact-relation - Fix DB error --- src/Worker/Contact/RemoveContent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Contact/RemoveContent.php b/src/Worker/Contact/RemoveContent.php index cc9139c2c8..0fc5db88f4 100644 --- a/src/Worker/Contact/RemoveContent.php +++ b/src/Worker/Contact/RemoveContent.php @@ -76,7 +76,7 @@ class RemoveContent Photo::delete(['contact-id' => $id]); - DBA::delete('contact-relation', ['contact-id = ? OR cid = ?', $id, $id]); + DBA::delete('contact-relation', ['`contact-id` = ? OR `cid` = ?', $id, $id]); DBA::delete('event', ['cid' => $id]); DBA::delete('fsuggest', ['cid' => $id]); DBA::delete('post-tag', ['cid' => $id]);