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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user