Skip to content

Commit c20e735

Browse files
authored
Merge pull request #123 from ComeCaramelos/fix/email-state
Fixed default value when state location value is not available
2 parents 48aace3 + 05b41b6 commit c20e735

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/emails/failed.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
> **@lang('IP Address:')** {{ $ipAddress }}<br/>
99
> **@lang('Browser:')** {{ $browser }}<br/>
1010
@if ($location && $location['default'] === false)
11-
> **@lang('Location:')** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'], __('Unknown State') }}
11+
> **@lang('Location:')** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'] ?? __('Unknown State') }}
1212
@endif
1313

1414
@lang('If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.')

resources/views/emails/new.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
> **@lang('IP Address:')** {{ $ipAddress }}<br/>
99
> **@lang('Browser:')** {{ $browser }}<br/>
1010
@if ($location && $location['default'] === false)
11-
> **@lang('Location:')** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'], __('Unknown State') }}
11+
> **@lang('Location:')** {{ $location['city'] ?? __('Unknown City') }}, {{ $location['state'] ?? __('Unknown State') }}
1212
@endif
1313

1414
@lang('If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.')

0 commit comments

Comments
 (0)