From 136c6b644e2d0320e38532e53a766e7afcc80eeb Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 29 Apr 2020 10:49:13 +0000 Subject: [PATCH] Fix: Mentions had been stored as tags --- src/Model/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Tag.php b/src/Model/Tag.php index 829567fe5f..7e894aca9b 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -68,7 +68,7 @@ class Tag */ public static function store(int $uriid, int $type, string $name, string $url = '', $probing = true) { - if ($type = self::HASHTAG) { + if ($type == self::HASHTAG) { // Remove some common "garbarge" from tags $name = trim($name, "\x00..\x20\xFF#!@,;.:'/?!^°$%".'"'); -- 2.39.5