Skip to content

Commit

Permalink
Fix acknowledge-problem via sending notifications when notify is set …
Browse files Browse the repository at this point in the history
…to false

refs #4913
  • Loading branch information
TheFlyingCorpse committed Jan 25, 2017
1 parent f7f9a15 commit 56a7e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/apiactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Dictionary::Ptr ApiActions::AcknowledgeProblem(const ConfigObject::Ptr& object,
if (params->Contains("sticky"))
sticky = AcknowledgementSticky;
if (params->Contains("notify"))
notify = true;
notify = HttpUtility::GetLastParameter(params, "notify");
if (params->Contains("persistent"))
persistent = HttpUtility::GetLastParameter(params, "persistent");
if (params->Contains("expiry"))
Expand Down

0 comments on commit 56a7e93

Please sign in to comment.