From 03cb652cefb7085b6c2d2b76fb68fbdacfcbf1ef Mon Sep 17 00:00:00 2001 From: Dieter Adriaenssens Date: Tue, 8 Feb 2011 10:19:50 +0100 Subject: [PATCH] use correct variable name --- libraries/core.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/core.lib.php b/libraries/core.lib.php index c2c82fb29..cb1a851c4 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -682,10 +682,10 @@ function PMA_linkURL($url) { * @return string HTML code for javascript inclusion. */ function PMA_includeJS($url) { - if (strpos($js_script_file, '?') === FALSE) { - return '' . "\n"; + if (strpos($url, '?') === FALSE) { + return '' . "\n"; } else { - return '' . "\n"; + return '' . "\n"; } } ?>