1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Minor, fix 404 page.

This commit is contained in:
epriestley 2012-08-14 06:04:19 -07:00
parent 70e59e58f0
commit a061359cec

View file

@ -27,7 +27,12 @@ final class PhabricatorApplicationDiviner extends PhabricatorApplication {
PhabricatorController $controller = null) {
$items = array();
$application = $controller->getCurrentApplication();
$application = null;
if ($controller) {
$application = $controller->getCurrentApplication();
}
if ($application && $application->getHelpURI()) {
$class = 'main-menu-item-icon-help';
$item = new PhabricatorMainMenuIconView();