Commit 7270a08e authored by Dries's avatar Dries
Browse files

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

parent b4af893c
......@@ -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";
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment