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

pull/6210/head
Jonny Tischbein 2018-11-27 22:54:16 +01:00
rodzic ea4e772b1e
commit f0d290eb18
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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