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-08-29 07:14:06 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-11-11 01:48:59 +0300
commit593b2571cd8ba5110cd39fee896ea172ca2c81d5 (patch)
tree14e5e8b0620130e741e544e3d653f290328a5bc9 /chk_rel.php
parente7e7d56c759366c61824b67f48ec0ba4d5507105 (diff)
Retrieve parameters from $_POST in chk_rel
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'chk_rel.php')
-rw-r--r--chk_rel.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/chk_rel.php b/chk_rel.php
index f34e8300d5..fe639537f9 100644
--- a/chk_rel.php
+++ b/chk_rel.php
@@ -13,20 +13,20 @@ require_once 'libraries/common.inc.php';
$relation = new Relation();
// If request for creating the pmadb
-if (isset($_REQUEST['create_pmadb'])) {
+if (isset($_POST['create_pmadb'])) {
if ($relation->createPmaDatabase()) {
$relation->fixPmaTables('phpmyadmin');
}
}
// If request for creating all PMA tables.
-if (isset($_REQUEST['fixall_pmadb'])) {
+if (isset($_POST['fixall_pmadb'])) {
$relation->fixPmaTables($GLOBALS['db']);
}
$cfgRelation = $relation->getRelationsParam();
// If request for creating missing PMA tables.
-if (isset($_REQUEST['fix_pmadb'])) {
+if (isset($_POST['fix_pmadb'])) {
$relation->fixPmaTables($cfgRelation['db']);
}