Skip to content

Commit

Permalink
Merge pull request #62 from psteiwer/dev
Browse files Browse the repository at this point in the history
Fix SendNoData condition
  • Loading branch information
psteiwer authored Feb 26, 2020
2 parents 5291a4e + adf989f commit 02a6b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PivotSubscriptions/Task.cls
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ClassMethod SendEmail(pID, pPivot As %String, pEmails As %String, pFormat As %St
Do msg.To.SetAt(tEmail,1)

// Send email
If $G(^PivotSubscriptions.Settings("SendNoData"),1) {
If tHasResults||$G(^PivotSubscriptions.Settings("SendNoData"),1) {
Set tSC=server.Send(msg)
}
// TODO: Log individual send status?
Expand Down

0 comments on commit 02a6b16

Please sign in to comment.