Skip to content
Snippets Groups Projects
Commit 7270a08e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #76637 by timcn: fixed incorrect variable name.

parent b4af893c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1426,8 +1426,8 @@ function drupal_get_js($scope = 'header', $javascript = NULL) {
}
break;
default:
foreach ($data as $path => $flags) {
$output .= '<script type="text/javascript"'. ($info['defer'] ? ' defer="defer"' : '') .' src="'. check_url(base_path() . $path) . ($flags['cache'] ? '' : '?'. time()) ."\"></script>\n";
foreach ($data as $path => $info) {
$output .= '<script type="text/javascript"'. ($info['defer'] ? ' defer="defer"' : '') .' src="'. check_url(base_path() . $path) . ($info['cache'] ? '' : '?'. time()) ."\"></script>\n";
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment