*/
namespace Friendica\Model;
+use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Util\Strings;
{
$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];
}
}