Fixes for issue 14059: (#14075)
Missing '=' after fk_checks (value was appended onto field name) sql_query variable not set due to GET-POST method change in tbl_structure.php 'add_key' situation Fix #14059 Signed-off-by: Alexander Kamp <git@akamp.nl>
This commit is contained in:
parent
d25f36570e
commit
dc75d407c0
@ -1853,7 +1853,7 @@ function getJSConfirmCommonParam (elem, params) {
|
||||
} else {
|
||||
params = '';
|
||||
}
|
||||
params += 'is_js_confirmed=1&ajax_request=true&fk_checks' + ($elem.find('#fk_checks').is(':checked') ? 1 : 0);
|
||||
params += 'is_js_confirmed=1&ajax_request=true&fk_checks=' + ($elem.find('#fk_checks').is(':checked') ? 1 : 0);
|
||||
return params;
|
||||
}
|
||||
|
||||
|
||||
@ -297,6 +297,7 @@ class TableStructureController extends TableController
|
||||
//after refactoring sql.php
|
||||
$db = $this->db;
|
||||
$table = $this->table;
|
||||
$sql_query = $GLOBALS['sql_query'];
|
||||
$cfg = $GLOBALS['cfg'];
|
||||
$is_superuser = $GLOBALS['dbi']->isSuperuser();
|
||||
$pmaThemeImage = $GLOBALS['pmaThemeImage'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user