Fixed get_name_url
This commit is contained in:
parent
46133f9240
commit
81e4b3dce5
@ -74,7 +74,7 @@ class Theme
|
|||||||
|
|
||||||
function get_name_url()
|
function get_name_url()
|
||||||
{
|
{
|
||||||
return urlencode($this->name);
|
return preg_replace("#[^a-zA-Z0-9_]#", "_", $this->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_id()
|
function get_id()
|
||||||
|
Loading…
Reference in New Issue
Block a user