Use lowercase for tags
This commit is contained in:
parent
825189e8e9
commit
463f8ee3f3
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class Tag extends BaseEntity
|
||||||
*/
|
*/
|
||||||
public function __construct(BaseURL $baseUrl, array $tag)
|
public function __construct(BaseURL $baseUrl, array $tag)
|
||||||
{
|
{
|
||||||
$this->name = $tag['name'];
|
$this->name = strtolower($tag['name']);
|
||||||
$this->url = $baseUrl . '/search?tag=' . urlencode($tag['name']);
|
$this->url = $baseUrl . '/search?tag=' . urlencode($this->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue