mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Fix (?) macro list issue
Summary: @chad, does this fix your issue? Test Plan: @chad pls test thx Reviewers: chad Reviewed By: chad CC: aran Maniphest Tasks: T2391 Differential Revision: https://secure.phabricator.com/D4610
This commit is contained in:
parent
9b8288886f
commit
c95ab9bc94
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ final class PhabricatorMacroListController
|
|||
$nodata = pht('There are no image macros yet.');
|
||||
}
|
||||
|
||||
$author_phids = array_combine($authors, $authors);
|
||||
if ($authors) {
|
||||
$author_phids = array_combine($authors, $authors);
|
||||
} else {
|
||||
$author_phids = array();
|
||||
}
|
||||
|
||||
$file_phids = mpull($macros, 'getFilePHID');
|
||||
|
||||
|
|
Loading…
Reference in a new issue