1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Minor, fix an issue with some older navs.

This commit is contained in:
epriestley 2012-12-07 15:38:31 -08:00
parent 2763d0fe61
commit bfb99043bf

View file

@ -83,9 +83,12 @@ final class AphrontSideNavFilterView extends AphrontView {
$uri = null) {
$item = id(new PhabricatorMenuItemView())
->setKey(strlen($key) ? $key : null)
->setName($name);
if (strlen($key)) {
$item->setKey($key);
}
if ($uri) {
$item->setHref($uri);
} else {