diff --git a/src/view/control/objectselector/PhabricatorObjectSelectorDialog.php b/src/view/control/objectselector/PhabricatorObjectSelectorDialog.php index 466058bc26..eebf98632a 100644 --- a/src/view/control/objectselector/PhabricatorObjectSelectorDialog.php +++ b/src/view/control/objectselector/PhabricatorObjectSelectorDialog.php @@ -135,7 +135,8 @@ class PhabricatorObjectSelectorDialog { } $handle_views = array(); - foreach ($this->handles as $phid => $handle) { + foreach ($this->handles as $handle) { + $phid = $handle->getPHID(); $view = new PhabricatorHandleObjectSelectorDataView($handle); $handle_views[$phid] = $view->renderData(); }