diff --git a/src/applications/herald/controller/rule/HeraldRuleController.php b/src/applications/herald/controller/rule/HeraldRuleController.php index f48fd43105..27053ce0fe 100644 --- a/src/applications/herald/controller/rule/HeraldRuleController.php +++ b/src/applications/herald/controller/rule/HeraldRuleController.php @@ -191,6 +191,9 @@ class HeraldRuleController extends HeraldController { $phids[] = $rule->getAuthorPHID(); foreach ($rule->getActions() as $action) { + if (!is_array($action->getTarget())) { + continue; + } foreach ($action->getTarget() as $target) { $target = (array)$target; foreach ($target as $phid) {