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:
parent
cc66c4890d
commit
d0c9db125b
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue