bug 665885
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-01-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_change.php3: bug 665885, wrong back link after sql error
|
||||||
|
|
||||||
2003-01-10 Michal Cihar <nijel@users.sourceforge.net>
|
2003-01-10 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* lang/czech*: Updated.
|
* lang/czech*: Updated.
|
||||||
|
|
||||||
|
@@ -58,13 +58,11 @@ if (get_magic_quotes_gpc()) {
|
|||||||
if (!isset($goto)) {
|
if (!isset($goto)) {
|
||||||
$goto = 'db_details.php3';
|
$goto = 'db_details.php3';
|
||||||
}
|
}
|
||||||
//if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') {
|
|
||||||
if (!ereg('^(db_details|tbl_properties|tbl_select)', $goto)) {
|
if (!ereg('^(db_details|tbl_properties|tbl_select)', $goto)) {
|
||||||
$err_url = $goto;
|
$err_url = $goto . "?" . PMA_generate_common_url($db) . "&sql_query=" . urlencode($sql_query);
|
||||||
} else {
|
} else {
|
||||||
$err_url = $goto . '?'
|
$err_url = $goto . '?'
|
||||||
. PMA_generate_common_url($db)
|
. PMA_generate_common_url($db)
|
||||||
//. (($goto == 'tbl_properties.php3') ? '&table=' . urlencode($table) : '');
|
|
||||||
. ((ereg('^(tbl_properties|tbl_select)', $goto)) ? '&table=' . urlencode($table) : '');
|
. ((ereg('^(tbl_properties|tbl_select)', $goto)) ? '&table=' . urlencode($table) : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user