3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 20:55:22 +00:00

Make sure there is a settings value

This commit is contained in:
snipe
2018-07-25 19:02:35 -07:00
parent a5daee811b
commit b267b34762
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
</style>
@endif
@if ($snipeSettings->custom_css)
@if (($snipeSettings) && ($snipeSettings->custom_css))
<style>
{!! $snipeSettings->show_custom_css() !!}
</style>

View File

@ -67,7 +67,7 @@
}
</style>
@if ($snipeSettings->custom_css)
@if (($snipeSettings) && ($snipeSettings->custom_css))
<style>
{!! $snipeSettings->show_custom_css() !!}
</style>