Skip to content
Snippets Groups Projects
Commit d8a6d9a4 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-6512 Change from elseif to else for branding_menu_style variable

parent 1a01c187
No related branches found
No related tags found
1 merge request!109ISTWCMS-6512 Change from elseif to else for branding_menu_style variable
...@@ -173,7 +173,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) { ...@@ -173,7 +173,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) {
$variables['branding_menu_style'] = theme_get_setting('wcms_branding_menu_style', 'uw_fdsu_theme_resp') ? theme_get_setting('wcms_branding_menu_style', 'uw_fdsu_theme_resp') : 'compressed'; $variables['branding_menu_style'] = theme_get_setting('wcms_branding_menu_style', 'uw_fdsu_theme_resp') ? theme_get_setting('wcms_branding_menu_style', 'uw_fdsu_theme_resp') : 'compressed';
} }
// The menu style is set to 'compressed' if the level is not 'full'. // The menu style is set to 'compressed' if the level is not 'full'.
elseif ($variables['branding_level'] != 'full') { else {
$variables['branding_menu_style'] = 'compressed'; $variables['branding_menu_style'] = 'compressed';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment