Don't try to require sql.php with parameters, rather redirect to it.

This commit is contained in:
Michal Čihař
2004-10-12 10:27:54 +00:00
parent 0a06f5c57c
commit 9e840c92b6
2 changed files with 5 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-10-12 Michal Čihař <michal@cihar.com>
* sql.php: Don't try to require sql.php with parameters, rather redirect
to it.
2004-10-11 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: typos and XHTML validity, thanks to Cedric Corazza
* libraries/export/sql.php: bug #1039639: under mysqli, some field types

View File

@@ -146,6 +146,7 @@ if ($is_select) {
* Sets or modifies the $goto variable if required
*/
if ($goto == 'sql.php') {
$is_gotofile = FALSE;
$goto = 'sql.php?'
. PMA_generate_common_url($db, $table)
. '&amp;pos=' . $pos