use correct variable name

This commit is contained in:
Dieter Adriaenssens
2011-02-08 10:19:50 +01:00
parent 7d599c14ba
commit 03cb652cef

View File

@@ -682,10 +682,10 @@ function PMA_linkURL($url) {
* @return string HTML code for javascript inclusion. * @return string HTML code for javascript inclusion.
*/ */
function PMA_includeJS($url) { function PMA_includeJS($url) {
if (strpos($js_script_file, '?') === FALSE) { if (strpos($url, '?') === FALSE) {
return '<script src="./js/' . $js_script_file . '?ts=' . filemtime('./js/' . $js_script_file) . '" type="text/javascript"></script>' . "\n"; return '<script src="./js/' . $url . '?ts=' . filemtime('./js/' . $url) . '" type="text/javascript"></script>' . "\n";
} else { } else {
return '<script src="./js/' . $js_script_file . '" type="text/javascript"></script>' . "\n"; return '<script src="./js/' . $url . '" type="text/javascript"></script>' . "\n";
} }
} }
?> ?>