Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-11-03 06:52:04 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-11-11 01:48:59 +0300
commit79548c0dcfc185f7c31a0c527d952a2b14266ddf (patch)
treebb099ec2a1f7629419e97471888f64afeaaff981 /server_status_processes.php
parent0fe1a3bea88a553407930f83380b88d7591d2bdd (diff)
Retrieve parameters from $_POST in server_status_processes.php
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'server_status_processes.php')
-rw-r--r--server_status_processes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/server_status_processes.php b/server_status_processes.php
index 5919599e02..39e048a186 100644
--- a/server_status_processes.php
+++ b/server_status_processes.php
@@ -25,8 +25,8 @@ $response = Response::getInstance();
* Kills a selected process
* on ajax request
*/
-if ($response->isAjax() && !empty($_REQUEST['kill'])) {
- $kill = intval($_REQUEST['kill']);
+if ($response->isAjax() && !empty($_POST['kill'])) {
+ $kill = intval($_POST['kill']);
$query = $GLOBALS['dbi']->getKillQuery($kill);
if ($GLOBALS['dbi']->tryQuery($query)) {
$message = PhpMyAdmin\Message::success(
@@ -44,7 +44,7 @@ if ($response->isAjax() && !empty($_REQUEST['kill'])) {
}
$message->addParam($kill);
$response->addJSON('message', $message);
-} elseif ($response->isAjax() && !empty($_REQUEST['refresh'])) {
+} elseif ($response->isAjax() && !empty($_POST['refresh'])) {
// Only sends the process list table
$response->addHTML(Processes::getHtmlForServerProcesslist());
} else {