summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 28e6f6980..373eb645d 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3669,7 +3669,7 @@ function drupal_get_js($scope = 'header', $javascript = NULL) {
$js_element['#value_prefix'] = $embed_prefix;
$js_element['#value'] = $item['data'];
$js_element['#value_suffix'] = $embed_suffix;
- $output .= theme('html_tag', array('element' => $js_element));
+ $processed[$index++] = theme('html_tag', array('element' => $js_element));
break;
case 'file':