diff --git a/includes/common.inc b/includes/common.inc index 199692f3ed4..4a4199f6f6d 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3740,7 +3740,7 @@ function _drupal_build_css_path($matches, $base = NULL) { } // Prefix with base and remove '../' segments where possible. - $path = $_base . $matches[1]; + $path = $_base . (isset($matches[1]) ? $matches[1] : ''); $last = ''; while ($path != $last) { $last = $path;