Fixed get_name_url
This commit is contained in:
parent
46133f9240
commit
81e4b3dce5
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class Theme
|
|||
|
||||
function get_name_url()
|
||||
{
|
||||
return urlencode($this->name);
|
||||
return preg_replace("#[^a-zA-Z0-9_]#", "_", $this->name);
|
||||
}
|
||||
|
||||
function get_id()
|
||||
|
|
Reference in a new issue