Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.1' into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Dec 2, 2024
2 parents 11097c0 + 4e49467 commit 0338ea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function getParamsForSingleSending(int $limit, int $offset): array
$containers = [];

foreach ($objects as $object) {
if (method_exists($object, 'getEmail')) {
if (method_exists($object, 'getEmail') && $object->getEmail()) {
$containers[] = new SendingParamContainer($object->getEmail(), [
'gender' => method_exists($object, 'getGender') ? $object->getGender() : '',
'firstname' => method_exists($object, 'getFirstname') ? $object->getFirstname() : '',
Expand Down

0 comments on commit 0338ea4

Please sign in to comment.