From: Jonny Tischbein Date: Tue, 27 Nov 2018 21:54:16 +0000 (+0100) Subject: Fix Term exists check on link which isn't stored for hashtags anymore to check on... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0d290eb1810b2ece97548c7a844a8d68404cb9c;p=friendica.git Fix Term exists check on link which isn't stored for hashtags anymore to check on term. --- diff --git a/src/Model/Term.php b/src/Model/Term.php index 3718887122..0d44acd2c9 100644 --- a/src/Model/Term.php +++ b/src/Model/Term.php @@ -156,7 +156,7 @@ class Term $link = ''; } - if (DBA::exists('term', ['uid' => $message['uid'], 'otype' => TERM_OBJ_POST, 'oid' => $itemid, 'url' => $link])) { + if (DBA::exists('term', ['uid' => $message['uid'], 'otype' => TERM_OBJ_POST, 'oid' => $itemid, 'term' => $term])) { continue; }