From 6a42f47c82c56bf5ec1dae7d8597e47334eaccd4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 29 Mar 2022 11:35:17 +1100 Subject: [PATCH] Fixes for custom messages --- resources/views/portal/ninja2020/layout/app.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/portal/ninja2020/layout/app.blade.php b/resources/views/portal/ninja2020/layout/app.blade.php index fcda5464af1a..c94361b8b4e3 100644 --- a/resources/views/portal/ninja2020/layout/app.blade.php +++ b/resources/views/portal/ninja2020/layout/app.blade.php @@ -74,7 +74,7 @@ {{-- Feel free to push anything to header using @push('header') --}} @stack('head') - @if((isset($account) && $account->isPaid()) || ((bool) \App\Utils\Ninja::isSelfHost() && !empty($client->getSetting('portal_custom_head')))) + @if((isset($company) && $company->account->isPaid() && !empty($client->getSetting('portal_custom_head'))) || ((bool) \App\Utils\Ninja::isSelfHost() && !empty($client->getSetting('portal_custom_head'))))
{!! $client->getSetting('portal_custom_head') !!}