Navigation menu: Fix duplicated conf. property code usage

This commit is contained in:
Molkobain
2022-08-12 11:10:29 +02:00
parent cc6cf79835
commit 24f2416427

View File

@@ -282,7 +282,7 @@ class NavigationMenu extends UIBlock implements iKeyboardShortcut
// Try if a custom URL was set in the configuration file
if(MetaModel::GetConfig()->IsCustomValue($sPropCode)) {
$this->sAppIconLink = MetaModel::GetConfig()->Get('app_icon_url');
$this->sAppIconLink = MetaModel::GetConfig()->Get($sPropCode);
}
// Otherwise use the home page
else {