Also check for $snipeSettings in the first place

Since the preflight also uses this basic blade
This commit is contained in:
snipe 2017-09-12 13:08:43 -07:00
parent 01e3f4a4db
commit e7d72beb88

View file

@ -6,7 +6,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ ($snipeSettings->site_name) ? $snipeSettings->site_name : 'Snipe-IT' }}</title>
<title>{{ ($snipeSettings) && ($snipeSettings->site_name) ? $snipeSettings->site_name : 'Snipe-IT' }}</title>
<!-- Select2 -->