Issue #3084953 by Taran2L, kiamlaluno: Trying to access array offset on value of type null in _drupal_build_css_path()

merge-requests/26/head
mcdruid 2020-04-06 20:31:46 +01:00
parent 6c656d75e3
commit 460ff5dc3c
1 changed files with 1 additions and 1 deletions

View File

@ -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;