Skip to content

Commit

Permalink
Merge pull request #36 from OpenPlaceGuide/develop
Browse files Browse the repository at this point in the history
Fix null access
  • Loading branch information
amenk authored Sep 29, 2024
2 parents fa4e1c6 + 1f8983c commit e9b7e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/page/place.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('layouts.index')

@section('pageTitle')
{{ Fallback::field($main->tags, 'name') }} - {{ Fallback::resolve($type->name) }} in {{ $branches[0]->area->getFullName() }}
{{ Fallback::field($main->tags, 'name') }} - {{ Fallback::resolve($type->name) }} in {{ $branches[0]?->area?->getFullName() ?? '...' }}
@endsection

@section('content')
Expand Down

0 comments on commit e9b7e37

Please sign in to comment.