Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7270a08e
Commit
7270a08e
authored
Aug 23, 2006
by
Dries
Browse files
- Patch
#76637
by timcn: fixed incorrect variable name.
parent
b4af893c
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
7270a08e
...
...
@@ -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
"
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment