File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Notifications/Corporations Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function toMail($notifiable)
7373
7474 $ corporation = CorporationInfo::find ($ this ->notification ->text ['corpID ' ]);
7575
76- if (! is_null ($ corporation ) && ! is_null ($ character )) {
76+ if (! is_null ($ corporation ) || ! is_null ($ character )) {
7777
7878 if (! is_null ($ corporation )) {
7979
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function toSlack($notifiable)
7373
7474 $ corporation = CorporationInfo::find ($ this ->notification ->text ['corpID ' ]);
7575
76- if (! is_null ($ corporation ) && ! is_null ($ character )) {
76+ if (! is_null ($ corporation ) || ! is_null ($ character )) {
7777
7878 $ message ->attachment (function ($ attachment ) use ($ character , $ corporation ) {
7979
You can’t perform that action at this time.
0 commit comments