undefined index $disp_query

This commit is contained in:
Garvin Hicking 2003-07-07 11:46:04 +00:00
parent 7c876edcb5
commit 309cce5fdb
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-07-07 Garvin Hicking <me@supergarv.de>
* tbl_change.php3: Fix undefined index for disp_query
(when inserting a new row with a file uploaded to a column)
2003-07-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/cookie.auth.lib.php3, config.inc.php3, user_password.php3,
Documentation.html: only one blowfish secret is necessary for

View File

@ -21,7 +21,7 @@ if (!empty($disp_message)) {
$goto = 'tbl_properties.php3?'
. PMA_generate_common_url($db, $table)
. '&amp;$show_query=1'
. '&amp;sql_query=' . urlencode($disp_query);
. '&amp;sql_query=' . (isset($disp_query) ? urlencode($disp_query) : '');
} else {
$show_query = '1';
}