mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix a bad parameter read in hovercard
Summary: I broke this at the last second in D17374. `getStrList()` doesn't read arrays. It probably should (more modern analogs do) but don't rock the boat in the leadup to the release cut. Test Plan: Hovered over a thing, saw a hovercard and no `getStrList()` error in my logs. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D17383
This commit is contained in:
parent
c0cfd4e9aa
commit
a439ea7190
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ final class PhabricatorSearchHovercardController
|
|||
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
$viewer = $this->getViewer();
|
||||
$phids = $request->getStrList('phids');
|
||||
$phids = $request->getArr('phids');
|
||||
|
||||
// If object names are provided, look them up and pretend they were
|
||||
// passed as additional PHIDs. This is primarily useful for debugging,
|
||||
|
|
Loading…
Reference in a new issue