mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Adjust how tags URLs are calculated to support tags with non-ASCII characters like 'children’s'
This commit is contained in:
parent
c5b686636b
commit
6c267497cc
5 changed files with 14 additions and 20 deletions
|
@ -728,7 +728,7 @@ class Ebook{
|
|||
|
||||
public function HasTag(string $tag): bool{
|
||||
foreach($this->Tags as $t){
|
||||
if(strtolower($t->Name) == strtolower($tag)){
|
||||
if(strtolower($t->UrlName) == strtolower($tag)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue