From: Michael Date: Wed, 29 Apr 2020 10:49:13 +0000 (+0000) Subject: Fix: Mentions had been stored as tags X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=136c6b644e2d0320e38532e53a766e7afcc80eeb;p=friendica.git Fix: Mentions had been stored as tags --- 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#!@,;.:'/?!^°$%".'"');