mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
2647137d3c
commit
b068e69d03
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class Category {
|
|||
|
||||
function setClean_name($clean_name) {
|
||||
preg_replace('/\W+/', '-', strtolower(cleanString($clean_name)));
|
||||
preg_replace('/ +/', '-', strtolower(cleanString($clean_name)));
|
||||
$this->clean_name = xss_esc($clean_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue