From 2908589eea3605e7e525bbe3a59475bc7c585737 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 5 May 2024 22:12:24 +1000 Subject: [PATCH] is not always defined --- resources/views/layouts/partials/topmenu.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/layouts/partials/topmenu.blade.php b/resources/views/layouts/partials/topmenu.blade.php index ec7bf47..5abbc1f 100644 --- a/resources/views/layouts/partials/topmenu.blade.php +++ b/resources/views/layouts/partials/topmenu.blade.php @@ -15,7 +15,7 @@ - @if(preg_match('#^domain/#',request()->path()) && $o->can_accept_app) + @if(preg_match('#^domain/#',request()->path()) && isset($o) && ($o instanceof \App\Models\Domain) && $o->can_accept_app)
  • Join
  • @else
  • Status