Add extra check for being set #560 (#563)

This commit is contained in:
Nabeel S
2020-02-20 11:36:26 -05:00
committed by GitHub
parent c0fbc7d491
commit da575932a7
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ class ProfileController extends Controller
/**
* @param $id
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|\Illuminate\View\View
* @return mixed
*/
public function show($id)
{

View File

@@ -94,7 +94,7 @@
<div class="row">
<div class="col-sm-12">
<div class="text-right">
@if ($acars)
@if (isset($acars) && $acars === true)
<a href="{{ route('frontend.profile.acars') }}" class="btn btn-primary"
onclick="alert('Save to \'My Documents/phpVMS\'')">ACARS Config</a>
&nbsp;