Fixed show_public on servers create
Fixed show_public on servers create
This commit is contained in:
parent
e84f404af8
commit
58aabe8fc1
|
@ -129,7 +129,7 @@ class ServerController extends Controller
|
||||||
'bandwidth' => $request->bandwidth,
|
'bandwidth' => $request->bandwidth,
|
||||||
'cpu' => $request->cpu,
|
'cpu' => $request->cpu,
|
||||||
'was_promo' => $request->was_promo,
|
'was_promo' => $request->was_promo,
|
||||||
'show_public' => $request->show_public
|
'show_public' => (isset($request->show_public)) ? 1 : 0
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (!is_null($request->ip1)) {
|
if (!is_null($request->ip1)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user