Retrieve parameters from $_POST in view_operations.php

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
Maurício Meneghini Fauth 2018-11-10 16:58:28 -02:00 committed by Isaac Bennetch
parent e624c69815
commit d178f4fc46

View File

@ -41,10 +41,10 @@ $operations = new Operations();
*/
$_message = new Message;
$_type = 'success';
if (isset($_REQUEST['submitoptions'])) {
if (isset($_POST['submitoptions'])) {
if (isset($_REQUEST['new_name'])) {
if ($pma_table->rename($_REQUEST['new_name'])) {
if (isset($_POST['new_name'])) {
if ($pma_table->rename($_POST['new_name'])) {
$_message->addText($pma_table->getLastMessage());
$result = true;
$GLOBALS['table'] = $pma_table->getName();