Fix Term exists check on link which isn't stored for hashtags anymore to check on term.
This commit is contained in:
parent
ea4e772b1e
commit
f0d290eb18
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue