From: Philipp Date: Tue, 19 Oct 2021 20:23:39 +0000 (+0200) Subject: contact-relation - Fix DB error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b838b594cde9b84fc3ddca2b8750ee39deda0124;p=friendica.git contact-relation - Fix DB error --- 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]);