diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 965b39a..36d7cc1 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1399,7 +1399,7 @@ function theme_get_setting($setting_name, $theme = NULL) { // flush, forcing browsers to load a new copy of the files, as the // URL changed. try { - $query_string = state()->get('system.css_js_query_string') ?: '0'; + $query_string = \Drupal::state()->get('system.css_js_query_string') ?: '0'; } catch(Exception $e) { $query_string = '0';