From df08b53e433d5302ff38ebcefc91d80ba4b7910b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 26 Apr 2016 16:37:20 +0200 Subject: [PATCH] Fixed editing of VIEW structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #12171 Signed-off-by: Michal Čihař --- ChangeLog | 1 + libraries/controllers/table/TableStructureController.php | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18abe2e9e6..8b67b11411 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,7 @@ phpMyAdmin - ChangeLog - issue #12217 Fixed javascript erros on user creation - issue #12144 Fixed parsing of some AS clauses - issue #12205 Fixed parsing of FULL OUTER JOIN queries +- issue #12171 Fixed editing of VIEW structure 4.6.0.0 (2016-03-22) + issue #11456 Disabled storage engines diff --git a/libraries/controllers/table/TableStructureController.php b/libraries/controllers/table/TableStructureController.php index 1510f7decb..65e0ff0c10 100644 --- a/libraries/controllers/table/TableStructureController.php +++ b/libraries/controllers/table/TableStructureController.php @@ -317,14 +317,14 @@ class TableStructureController extends TableController // got to be eliminated in long run $db = &$this->db; $table = &$this->table; + $url_params = array(); include_once 'libraries/tbl_common.inc.php'; $this->_db_is_system_schema = $db_is_system_schema; $this->_url_query = $url_query . '&goto=tbl_structure.php&back=tbl_structure.php'; - $url_params = array( - 'goto' => 'tbl_structure.php', - 'back' => 'tbl_structure.php', - ); + /* The url_params array is initialized in above include */ + $url_params['goto'] = 'tbl_structure.php'; + $url_params['back'] = 'tbl_structure.php'; /** * Gets tables information