Fix startup executable display bug
This commit is contained in:
parent
bcd4b35890
commit
7dd00d6d88
1 changed files with 2 additions and 2 deletions
|
@ -200,9 +200,9 @@ class ServerController extends Controller
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
$service = Models\Service::select(
|
$service = Models\Service::select(
|
||||||
DB::raw('COALESCE(service_options.executable, services.executable) as executable'),
|
DB::raw('IFNULL(service_options.executable, services.executable) as executable')
|
||||||
DB::raw('COALESCE(service_options.startup, services.startup) as startup')
|
|
||||||
)->leftJoin('service_options', 'service_options.parent_service', '=', 'services.id')
|
)->leftJoin('service_options', 'service_options.parent_service', '=', 'services.id')
|
||||||
|
->where('service_options.id', $server->option)
|
||||||
->where('services.id', $server->service)
|
->where('services.id', $server->service)
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue