]> git.mxchange.org Git - friendica.git/commitdiff
Fix Term exists check on link which isn't stored for hashtags anymore to check on...
authorJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 27 Nov 2018 21:54:16 +0000 (22:54 +0100)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 27 Nov 2018 21:54:16 +0000 (22:54 +0100)
src/Model/Term.php

index 3718887122436ad35784b0f7b1f3b7cc8fc91620..0d44acd2c988958237e35beb3b7343e4bc5964c0 100644 (file)
@@ -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;
                        }