diff --git a/ChangeLog b/ChangeLog index b051a2428..e8ecd2625 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ $HeadURL$ - bug [core] undefined variable in libraries/tbl_replace_fields.inc.php - bug [gui] query window icon did not work, thanks to Jürgen Wind - windkiel . [general] use PMA_getenv('PHP_SELF') +- bug #1673599 [core] Call to undefined function PMA_isSuperuser() 2.10.0.2 (2007-03-02) ===================== diff --git a/js/querywindow.js b/js/querywindow.js index 6fc799d96..b69cdfaa4 100644 --- a/js/querywindow.js +++ b/js/querywindow.js @@ -271,7 +271,7 @@ function insertQuery() { function open_querywindow( url ) { if ( ! url ) { - url = 'querywindow.php?' + encodeURIComponent(common_query) + '&db=' + encodeURIComponent(db) + '&table=' + encodeURIComponent(table); + url = 'querywindow.php?' + common_query + '&db=' + encodeURIComponent(db) + '&table=' + encodeURIComponent(table); } if (!querywindow.closed && querywindow.location) {