Skip to content

Commit

Permalink
Merge pull request #25 from helsingborg-stad/fix/empty-mails
Browse files Browse the repository at this point in the history
fix: Empty mails still getting sent
  • Loading branch information
sebastianthulin authored Oct 31, 2023
2 parents daa7c1b + ff45035 commit fab1468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/php/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public function getDataBetween($from = null, $to = null)
'pending' => $pending
);

return [$data, (!empty($yesno) || !empty($yesnoPercent) || !empty($pending))];
return [$data, (!empty($yesno['yes']) || !empty($yesno['no']))];
}

/**
Expand Down

0 comments on commit fab1468

Please sign in to comment.