diff --git a/template.php b/template.php index 66af672..b335138 100644 --- a/template.php +++ b/template.php @@ -544,7 +544,7 @@ function open_framework_breadcrumb(&$variables) { $output = ''; $breadcrumb = $variables['breadcrumb']; $show_breadcrumb = theme_get_setting('breadcrumb_classes'); - if ($show_breadcrumb == 'show-breadcrumb ') { + if ($show_breadcrumb == 'show-breadcrumb') { if (!empty($breadcrumb)) { // Provide a navigational heading to give context for breadcrumb links to // screen-reader users. Make the heading invisible with .element-invisible. @@ -556,4 +556,4 @@ function open_framework_breadcrumb(&$variables) { } } return $output; -} \ No newline at end of file +} diff --git a/theme-settings.php b/theme-settings.php index 7145a21..156fc15 100644 --- a/theme-settings.php +++ b/theme-settings.php @@ -45,7 +45,7 @@ function open_framework_form_system_theme_settings_alter(&$form, &$form_state) { '#default_value' => theme_get_setting('breadcrumb_classes'), '#options' => array( '' => t('Hide breadcrumbs - Default'), - 'show-breadcrumb ' => t('Show breadcrumbs'), + 'show-breadcrumb' => t('Show breadcrumbs'), ), ); @@ -174,4 +174,4 @@ function open_framework_settings_validate($form, &$form_state) { form_set_error('body_bg_upload', t('The background image could not be uploaded.')); } } -} \ No newline at end of file +}