Fix Term exists check on link which isn't stored for hashtags anymore to check on term.

This commit is contained in:
Jonny Tischbein 2018-11-27 22:54:16 +01:00
parent ea4e772b1e
commit f0d290eb18

View 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;
}