]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Term.php
Forums now are working with AP as well
[friendica.git] / src / Model / Term.php
index 58c322365958f4871d6865889a92171257af2241..f196974a8f66d10279c286a4be23fcf6931e2ff2 100644 (file)
@@ -4,6 +4,7 @@
  */
 namespace Friendica\Model;
 
+use Friendica\Core\Logger;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Util\Strings;
@@ -403,7 +404,7 @@ class Term
        {
                $tag_chars = [];
                foreach ($types as $type) {
-                       if (isset(self::TAG_CHARACTER[$type])) {
+                       if (array_key_exists($type, self::TAG_CHARACTER)) {
                                $tag_chars[] = self::TAG_CHARACTER[$type];
                        }
                }