Use lowercase for tags

2022.09-rc
Michael 2020-10-25 17:59:28 +00:00
rodzic 825189e8e9
commit 463f8ee3f3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ class Tag extends BaseEntity
*/
public function __construct(BaseURL $baseUrl, array $tag)
{
$this->name = $tag['name'];
$this->url = $baseUrl . '/search?tag=' . urlencode($tag['name']);
$this->name = strtolower($tag['name']);
$this->url = $baseUrl . '/search?tag=' . urlencode($this->name);
}
}