Skip to content
Permalink
Browse files

Retrieve parameters from $_POST in view_operations.php

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information...
mauriciofauth committed Nov 10, 2018
1 parent eb13c69 commit 79fd80cef5da7f67eed01825b4d4b957d03acffd
Showing with 3 additions and 3 deletions.
  1. +3 −3 view_operations.php
@@ -41,10 +41,10 @@
*/
$_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();

0 comments on commit 79fd80c

Please sign in to comment.
You can’t perform that action at this time.