Make tag 'Names' Field have case-sensitive version
This commit is contained in:
parent
689b6b015b
commit
4f0968a93c
|
@ -51,8 +51,8 @@ class Tag extends BaseDataTransferObject
|
||||||
*/
|
*/
|
||||||
public function __construct(BaseURL $baseUrl, array $tag, array $history = [], bool $following = false)
|
public function __construct(BaseURL $baseUrl, array $tag, array $history = [], bool $following = false)
|
||||||
{
|
{
|
||||||
$this->name = strtolower($tag['name']);
|
$this->name = $tag['name'];
|
||||||
$this->url = $baseUrl . '/search?tag=' . urlencode($this->name);
|
$this->url = $baseUrl . '/search?tag=' . urlencode(strtolower($this->name));
|
||||||
$this->history = $history;
|
$this->history = $history;
|
||||||
$this->following = $following;
|
$this->following = $following;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user