Skip to content

Commit

Permalink
do not generate a mail if no shared file
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed Dec 4, 2020
1 parent d1d18b0 commit fe5a64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GlobalScale/MemberAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function result(array $events): void {
}
}

if ($circle === null || $member === null) {
if (empty($links) || $circle === null || $member === null) {
return;
}

Expand Down

0 comments on commit fe5a64c

Please sign in to comment.