1
0
Fork 0
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:
epriestley 2013-01-23 18:37:40 -08:00
parent 9b8288886f
commit c95ab9bc94

View file

@ -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');