Merge pull request #6210 from JonnyTischbein/issue_multiple_hashtag

Fix insert multiple hashtags to term
This commit is contained in:
Hypolite Petovan 2018-11-27 18:19:51 -05:00 committed by GitHub
commit e64a14b84b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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