mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Fixed #3807 - Menu-Manager parser error on themes with hyphen in folder name.
This commit is contained in:
@@ -5197,6 +5197,11 @@ return;
|
||||
return preg_replace('/[^\w]/',"",$text);
|
||||
}
|
||||
|
||||
if($type === 'wd') // words and digits only.
|
||||
{
|
||||
return preg_replace('/[^\w\d]/',"",$text);
|
||||
}
|
||||
|
||||
if($type === 'wds') // words, digits and spaces only.
|
||||
{
|
||||
return preg_replace('/[^\w\d ]/',"",$text);
|
||||
|
Reference in New Issue
Block a user