diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 73fffb4..69047b4 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -894,14 +894,14 @@ function theme_get_setting($setting_name, $theme = NULL) { try { $query_string = \Drupal::state()->get('system.drupal_asset_query_string') ?: '0'; } - catch(Exception $e) { + catch (Exception $e) { $query_string = '0'; } // Generate the path to the logo image. if ($cache[$theme]->get('features.logo')) { if ($cache[$theme]->get('logo.use_default')) { - if (!file_exists($logo_path = $theme_object->getPath . '/logo.png')) { + if (!file_exists($logo_path = $theme_object->getPath() . '/logo.png')) { $logo_path = 'core/misc/druplicon.png'; } } @@ -917,7 +917,7 @@ function theme_get_setting($setting_name, $theme = NULL) { // Generate the path to the favicon. if ($cache[$theme]->get('features.favicon')) { if ($cache[$theme]->get('favicon.use_default')) { - if (!file_exists($favicon_path = $theme_object->getPath . '/favicon.ico')) { + if (!file_exists($favicon_path = $theme_object->getPath() . '/favicon.ico')) { $favicon_path = 'core/misc/favicon.ico'; } }