[Rebranding] Fixed get header logo on metaconsole

This commit is contained in:
fermin831 2018-05-29 12:45:08 +02:00
parent aa1e7ff4d2
commit 1391f8cc11
1 changed files with 2 additions and 2 deletions

View File

@ -3966,8 +3966,8 @@ function ui_get_custom_header_logo ($white_bg = false) {
}
$stored_logo = is_metaconsole()
? $config['meta_custom_logo']
: $white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo'];
? ($white_bg ? $config['meta_custom_logo_white_bg'] : $config['meta_custom_logo'])
: ($white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo']);
if (empty($stored_logo)) return 'images/pandora_tinylogo.png';
return 'enterprise/images/custom_logo/' . $stored_logo;
}