mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 09:32:29 +01:00
Fix startup executable display bug
This commit is contained in:
parent
bcd4b35890
commit
7dd00d6d88
@ -200,9 +200,9 @@ class ServerController extends Controller
|
||||
->get();
|
||||
|
||||
$service = Models\Service::select(
|
||||
DB::raw('COALESCE(service_options.executable, services.executable) as executable'),
|
||||
DB::raw('COALESCE(service_options.startup, services.startup) as startup')
|
||||
DB::raw('IFNULL(service_options.executable, services.executable) as executable')
|
||||
)->leftJoin('service_options', 'service_options.parent_service', '=', 'services.id')
|
||||
->where('service_options.id', $server->option)
|
||||
->where('services.id', $server->service)
|
||||
->first();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user