Don't try to require sql.php with parameters, rather redirect to it.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2004-10-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html: typos and XHTML validity, thanks to Cedric Corazza
|
* Documentation.html: typos and XHTML validity, thanks to Cedric Corazza
|
||||||
* libraries/export/sql.php: bug #1039639: under mysqli, some field types
|
* libraries/export/sql.php: bug #1039639: under mysqli, some field types
|
||||||
|
1
sql.php
1
sql.php
@@ -146,6 +146,7 @@ if ($is_select) {
|
|||||||
* Sets or modifies the $goto variable if required
|
* Sets or modifies the $goto variable if required
|
||||||
*/
|
*/
|
||||||
if ($goto == 'sql.php') {
|
if ($goto == 'sql.php') {
|
||||||
|
$is_gotofile = FALSE;
|
||||||
$goto = 'sql.php?'
|
$goto = 'sql.php?'
|
||||||
. PMA_generate_common_url($db, $table)
|
. PMA_generate_common_url($db, $table)
|
||||||
. '&pos=' . $pos
|
. '&pos=' . $pos
|
||||||
|
Reference in New Issue
Block a user