From 9e840c92b630678c2654411af9ca91d80e3a34b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 12 Oct 2004 10:27:54 +0000 Subject: [PATCH] Don't try to require sql.php with parameters, rather redirect to it. --- ChangeLog | 4 ++++ sql.php | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index a8310755f..2ad533460 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-10-12 Michal Čihař + * sql.php: Don't try to require sql.php with parameters, rather redirect + to it. + 2004-10-11 Marc Delisle * Documentation.html: typos and XHTML validity, thanks to Cedric Corazza * libraries/export/sql.php: bug #1039639: under mysqli, some field types diff --git a/sql.php b/sql.php index cd63adafa..3ca2eb2df 100644 --- a/sql.php +++ b/sql.php @@ -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) . '&pos=' . $pos