mirror of
https://github.com/linuxserver/Heimdall
synced 2025-10-06 00:32:45 +02:00
Allow numbers in apps
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user