1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fix a herald rule editor warning.

This commit is contained in:
epriestley 2011-04-04 14:13:48 -07:00
parent cc66c4890d
commit d0c9db125b

View file

@ -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) {