diff options
Diffstat (limited to 'libraries/core.lib.php')
-rw-r--r-- | libraries/core.lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/core.lib.php b/libraries/core.lib.php index ffcde8c867..1a1c3ea4e6 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -783,7 +783,7 @@ function PMA_includeJS($url, $ie_conditional = false) */ function PMA_addJSCode($str) { - $GLOBALS['js_script'][] = $str; + PMA_Header::getInstance()->getScripts()->addCode($str); } /** |