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:
authorDurgesh <007durgesh219@gmail.com>2016-02-19 16:33:11 +0300
committerDurgesh <007durgesh219@gmail.com>2016-02-22 12:06:41 +0300
commit0b64827930ef5232149ea211647cb7c95719d2d5 (patch)
tree3964cdd12cb0d00e6d9987ecfe35f9e92498ec56 /prefs_forms.php
parentb8c39d413de690e2cffbca9926dbf768ee076b83 (diff)
Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
Diffstat (limited to 'prefs_forms.php')
-rw-r--r--prefs_forms.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/prefs_forms.php b/prefs_forms.php
index 0261f66f3d..c5519ca7d1 100644
--- a/prefs_forms.php
+++ b/prefs_forms.php
@@ -8,6 +8,7 @@
use PMA\libraries\config\ConfigFile;
use PMA\libraries\config\FormDisplay;
use PMA\libraries\Response;
+use PMA\libraries\URL;
/**
* Gets some core libraries and displays a top message if required
@@ -45,7 +46,7 @@ if (isset($_POST['revert'])) {
$url_params = array('form' => $form_param);
PMA_sendHeaderLocation(
'./prefs_forms.php'
- . PMA_URL_getCommon($url_params, 'text')
+ . URL::getCommon($url_params, 'text')
);
exit;
}