]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
the "term" field now is called "name", workaround removed
[friendica.git] / mod / tagger.php
index b3ba472eab829d53f16bd4f21cfa7964162ec085..f39c37103a6983479a7cc766e559ed9ac22aea12 100644 (file)
@@ -183,7 +183,7 @@ EOT;
                q("INSERT INTO term (oid, otype, type, term, url, uid) VALUE (%d, %d, %d, '%s', '%s', %d)",
                   intval($item['id']),
                   $term_objtype,
-                  Term::HASHTAG,
+                  Tag::HASHTAG,
                   DBA::escape($term),
                   '',
                   intval($owner_uid)
@@ -205,7 +205,7 @@ EOT;
                        q("INSERT INTO term (`oid`, `otype`, `type`, `term`, `url`, `uid`) VALUE (%d, %d, %d, '%s', '%s', %d)",
                                intval($original_item['id']),
                                $term_objtype,
-                               Term::HASHTAG,
+                               Tag::HASHTAG,
                                DBA::escape($term),
                                '',
                                intval($owner_uid)