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 /sql.php
parentb8c39d413de690e2cffbca9926dbf768ee076b83 (diff)
Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
Diffstat (limited to 'sql.php')
-rw-r--r--sql.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql.php b/sql.php
index e7e143cf14..2b0cb77484 100644
--- a/sql.php
+++ b/sql.php
@@ -10,6 +10,7 @@
use PMA\libraries\config\PageSettings;
use PMA\libraries\Response;
use PMA\libraries\Util;
+use PMA\libraries\URL;
/**
* Gets some core libraries
@@ -60,7 +61,7 @@ if (empty($goto)) {
if (! isset($err_url)) {
$err_url = (! empty($back) ? $back : $goto)
- . '?' . PMA_URL_getCommon(array('db' => $GLOBALS['db']))
+ . '?' . URL::getCommon(array('db' => $GLOBALS['db']))
. ((mb_strpos(' ' . $goto, 'db_') != 1
&& mb_strlen($table))
? '&amp;table=' . urlencode($table)
@@ -187,7 +188,7 @@ if (isset($_POST['store_bkm'])) {
*/
if ($goto == 'sql.php') {
$is_gotofile = false;
- $goto = 'sql.php' . PMA_URL_getCommon(
+ $goto = 'sql.php' . URL::getCommon(
array(
'db' => $db,
'table' => $table,