diff --git a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php index 1075c35b15..4f4778375c 100644 --- a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php +++ b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php @@ -506,7 +506,7 @@ class DifferentialRevisionViewController extends DifferentialController { $actions[DifferentialAction::ACTION_ADDREVIEWERS] = true; - return array_keys($actions); + return array_keys(array_filter($actions)); } private function loadInlineComments(array $comments, array &$changesets) {