Fix: Mentions had been stored as tags
This commit is contained in:
parent
2423831b90
commit
136c6b644e
|
@ -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#!@,;.:'/?!^°$%".'"');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user