Page MenuHomestyx hydra

No OneTemporary

diff --git a/src/applications/phid/controller/PhabricatorPHIDLookupController.php b/src/applications/phid/controller/PhabricatorPHIDLookupController.php
index e7c93f60ba..c99714b108 100644
--- a/src/applications/phid/controller/PhabricatorPHIDLookupController.php
+++ b/src/applications/phid/controller/PhabricatorPHIDLookupController.php
@@ -1,87 +1,87 @@
<?php
final class PhabricatorPHIDLookupController
extends PhabricatorPHIDController {
public function processRequest() {
$request = $this->getRequest();
$phids = $request->getStrList('phids');
if ($phids) {
$handles = $this->loadViewerHandles($phids);
$rows = array();
foreach ($handles as $handle) {
if ($handle->getURI()) {
$link = phutil_tag(
'a',
array(
'href' => $handle->getURI(),
),
$handle->getURI());
} else {
$link = null;
}
$rows[] = array(
$handle->getPHID(),
$handle->getType(),
- $handle->getName(),
+ $handle->getFullName(),
$link,
);
}
$table = new AphrontTableView($rows);
$table->setHeaders(
array(
'PHID',
'Type',
'Name',
'URI',
));
$table->setColumnClasses(
array(
null,
null,
null,
'wide',
));
$panel = new AphrontPanelView();
$panel->setHeader('PHID Handles');
$panel->appendChild($table);
return $this->buildStandardPageResponse(
$panel,
array(
'title' => 'PHID Lookup Results',
));
}
$lookup_form = new AphrontFormView();
$lookup_form->setUser($request->getUser());
$lookup_form
->setAction('/phid/')
->appendChild(
id(new AphrontFormTextAreaControl())
->setName('phids')
->setCaption('Enter PHIDs separated by spaces or commas.'))
->appendChild(
id(new AphrontFormSubmitControl())
->setValue('Lookup PHIDs'));
$lookup_panel = new AphrontPanelView();
$lookup_panel->setHeader('Lookup PHIDs');
$lookup_panel->appendChild($lookup_form);
$lookup_panel->setWidth(AphrontPanelView::WIDTH_WIDE);
return $this->buildStandardPageResponse(
array(
$lookup_panel,
),
array(
'title' => 'PHID Lookup',
));
}
}

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 13, 5:34 PM (1 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
336418
Default Alt Text
(2 KB)

Event Timeline