Skip to content

Commit

Permalink
Retrieve parameters from $_POST in view_operations.php
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information
MauricioFauth committed Nov 10, 2018
1 parent eb13c69 commit 79fd80c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions view_operations.php
Expand Up @@ -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();
Expand Down

0 comments on commit 79fd80c

Please sign in to comment.