Allow numbers in apps
This commit is contained in:
parent
271100c25b
commit
7fdca02af7
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class Application extends Model
|
|||
$list['null'] = 'None';
|
||||
foreach($all as $app) {
|
||||
$name = $app->name;
|
||||
$name = preg_replace('/\PL/u', '', $name);
|
||||
// $name = preg_replace('/\PL/u', '', $name);
|
||||
$name = preg_replace('/[^\p{L}\p{N}]/u', '', $name);
|
||||
|
||||
$list['\App\SupportedApps\\'.$name.'\\'.$name] = $app->name;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue