bug #3392150 [schema] PMA_User_Schema::processUserChoice() is broken
This commit is contained in:
@@ -66,7 +66,7 @@ class PMA_User_Schema
|
||||
$this->_editCoordinates($db, $cfgRelation,$query_default_option);
|
||||
break;
|
||||
case 'delete_old_references':
|
||||
$this->_deleteTableRows($delrow,$cfgRelation,$db,$this->chosenPage);
|
||||
$this->_deleteTableRows($_POST['delrow'], $cfgRelation, $db, $_POST['chpage']);
|
||||
break;
|
||||
case 'process_export':
|
||||
$this->_processExportSchema();
|
||||
@@ -318,7 +318,7 @@ class PMA_User_Schema
|
||||
echo "\n" . '</form>' . "\n\n";
|
||||
} // end if
|
||||
|
||||
$this->_deleteTables($db, $this->chosenPage, isset($tabExist));
|
||||
$this->_deleteTables($db, $this->chosenPage, $tabExist);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -438,7 +438,7 @@ class PMA_User_Schema
|
||||
}
|
||||
if ($shoot) {
|
||||
echo '<form action="schema_edit.php" method="post">' . "\n"
|
||||
. PMA_generate_common_hidden_inputs($db, $table)
|
||||
. PMA_generate_common_hidden_inputs($db)
|
||||
. '<input type="hidden" name="do" value="delete_old_references" />' . "\n"
|
||||
. '<input type="hidden" name="chpage" value="' . htmlspecialchars($chpage) . '" />' . "\n"
|
||||
. __('The current page has references to tables that no longer exist. Would you like to delete those references?')
|
||||
|
Reference in New Issue
Block a user