From 7c236e1abdb7b7e9c1924cd34035d67aee3767c9 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 16 Jun 2015 11:02:01 +0530 Subject: [PATCH] bug #4960 Table creation results in GET request with missing server parameter that invalidates the session Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + js/functions.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 05bd9ad9b0..23e40271ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog - bug #4950 Issues in database selection for replication - bug #4951 Trying to save chart as image crashes the browser - bug #4953 cant drag sql.gz file onto import input +- bug #4960 Table creation results in GET request with missing server parameter that invalidates the session 4.4.9.0 (2015-06-04) - bug #4920 relation view doesn't list fields of table in other database diff --git a/js/functions.js b/js/functions.js index de85c226b1..d5f662858c 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2706,7 +2706,7 @@ AJAX.registerOnload('functions.js', function () { // Redirect to table structure page on creation of new table var params_12 = 'ajax_request=true&ajax_page_request=true'; params_12 += AJAX.cache.menus.getRequestParam(); - tblStruct_url = 'tbl_structure.php?db='+ data._params.db + '&token='+data._params.token +'&goto=db_structure.php&table='+data._params.table+''; + tblStruct_url = 'tbl_structure.php?server=' + data._params.server + '&db='+ data._params.db + '&token='+data._params.token +'&goto=db_structure.php&table='+data._params.table+''; $.get(tblStruct_url, params_12, AJAX.responseHandler); } else { PMA_ajaxShowMessage(