diff options
author | Durgesh <007durgesh219@gmail.com> | 2016-02-19 16:33:11 +0300 |
---|---|---|
committer | Durgesh <007durgesh219@gmail.com> | 2016-02-22 12:06:41 +0300 |
commit | 0b64827930ef5232149ea211647cb7c95719d2d5 (patch) | |
tree | 3964cdd12cb0d00e6d9987ecfe35f9e92498ec56 /sql.php | |
parent | b8c39d413de690e2cffbca9926dbf768ee076b83 (diff) |
Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)) ? '&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, |