v7.0.0-beta.4 release
This commit is contained in:
1 parent
05db17887d
commit
1db039ff34
1545 files changed
+136783
-11634
No files matched your search
@@ -60,7 +60,7 @@ trait NotificationContentBehavior
|
||||
$locale = $locale ?? app()->getLocale();
|
||||
$subject = $this->subject ?? [];
|
||||
|
||||
return $subject[$locale] ?? $subject['ko'] ?? $subject['en'] ?? '';
|
||||
return $subject[$locale] ?? $subject[config('app.fallback_locale', 'ko')] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -74,7 +74,7 @@ trait NotificationContentBehavior
|
||||
$locale = $locale ?? app()->getLocale();
|
||||
$body = $this->body ?? [];
|
||||
|
||||
return $body[$locale] ?? $body['ko'] ?? $body['en'] ?? '';
|
||||
return $body[$locale] ?? $body[config('app.fallback_locale', 'ko')] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user