diff --git a/src/applications/differential/field/specification/DifferentialCCsFieldSpecification.php b/src/applications/differential/field/specification/DifferentialCCsFieldSpecification.php index 01e83e4846..92c3106345 100644 --- a/src/applications/differential/field/specification/DifferentialCCsFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialCCsFieldSpecification.php @@ -90,7 +90,7 @@ final class DifferentialCCsFieldSpecification foreach ($this->ccs as $phid) { $handle = $this->getHandle($phid); if ($handle->isComplete()) { - $names[] = $handle->getName(); + $names[] = $handle->getObjectName(); } } return implode(', ', $names); diff --git a/src/applications/differential/field/specification/DifferentialReviewersFieldSpecification.php b/src/applications/differential/field/specification/DifferentialReviewersFieldSpecification.php index b82267c7c2..35c47afef7 100644 --- a/src/applications/differential/field/specification/DifferentialReviewersFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialReviewersFieldSpecification.php @@ -130,8 +130,6 @@ final class DifferentialReviewersFieldSpecification return null; } - $project_type = PhabricatorProjectPHIDTypeProject::TYPECONST; - $names = array(); foreach ($this->reviewers as $phid) { $names[] = $this->getHandle($phid)->getObjectName();