1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Correct rendering of "Another Herald Rule" conditions in Herald

Summary: Fixes T8920. These are semi-magical and need to be slightly special cased, now.

Test Plan: {F654502}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8920

Differential Revision: https://secure.phabricator.com/D13696
This commit is contained in:
epriestley 2015-07-24 10:57:03 -07:00
parent 10fb011a49
commit 65bef30eb8

View file

@ -35,4 +35,14 @@ final class HeraldAnotherRuleField extends HeraldField {
->setOptions(array());
}
public function renderConditionValue(
PhabricatorUser $viewer,
$condition,
$value) {
$value = (array)$value;
return $viewer->renderHandleList($value);
}
}