From: Hank Grabowski Date: Wed, 28 Dec 2022 22:01:06 +0000 (-0500) Subject: Make tag 'Names' Field have case-sensitive version X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f0968a93ca0d2d484f211a4c6b40ca5b66957a1;p=friendica.git Make tag 'Names' Field have case-sensitive version --- diff --git a/src/Object/Api/Mastodon/Tag.php b/src/Object/Api/Mastodon/Tag.php index e40b793e26..488865a510 100644 --- a/src/Object/Api/Mastodon/Tag.php +++ b/src/Object/Api/Mastodon/Tag.php @@ -51,8 +51,8 @@ class Tag extends BaseDataTransferObject */ public function __construct(BaseURL $baseUrl, array $tag, array $history = [], bool $following = false) { - $this->name = strtolower($tag['name']); - $this->url = $baseUrl . '/search?tag=' . urlencode($this->name); + $this->name = $tag['name']; + $this->url = $baseUrl . '/search?tag=' . urlencode(strtolower($this->name)); $this->history = $history; $this->following = $following; }