summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 8fce947dd..82f7e4300 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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";
}
}
}