Fixed show_public on servers create

Fixed show_public on servers create
This commit is contained in:
cp6 2022-03-05 11:06:15 +11:00
parent e84f404af8
commit 58aabe8fc1

View File

@ -129,7 +129,7 @@ class ServerController extends Controller
'bandwidth' => $request->bandwidth,
'cpu' => $request->cpu,
'was_promo' => $request->was_promo,
'show_public' => $request->show_public
'show_public' => (isset($request->show_public)) ? 1 : 0
]);
if (!is_null($request->ip1)) {