1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +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) { PhabricatorController $controller = null) {
$items = array(); $items = array();
$application = $controller->getCurrentApplication();
$application = null;
if ($controller) {
$application = $controller->getCurrentApplication();
}
if ($application && $application->getHelpURI()) { if ($application && $application->getHelpURI()) {
$class = 'main-menu-item-icon-help'; $class = 'main-menu-item-icon-help';
$item = new PhabricatorMainMenuIconView(); $item = new PhabricatorMainMenuIconView();