is not always defined
This commit is contained in:
parent
b17fe1d2ee
commit
2908589eea
@ -15,7 +15,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@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)
|
||||
<li><a href="{{ url('join') }}" id="join_top" class="@if(preg_match('#^join#',request()->path()))thispage @endif"><span>Join</span></a></li>
|
||||
@else
|
||||
<li><a href="{{ url('status') }}" class="@if(preg_match('#^status#',request()->path()))thispage disabled @endif"><span>Status</span></a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user