bug 579785

This commit is contained in:
Marc Delisle
2002-07-18 15:03:24 +00:00
parent ec0a0e3a48
commit 6c980cd46b
2 changed files with 11 additions and 4 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-07-18 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php3: bug 579785, Edit links URLs too long
for some browsers
2002-07-18 Steve Alberty <staybyte@users.sourceforge.net> 2002-07-18 Steve Alberty <staybyte@users.sourceforge.net>
* db_details_structure.php3: correct wrong link from table size to stats * db_details_structure.php3: correct wrong link from table size to stats

View File

@@ -878,10 +878,13 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
// 1.2.1 Modify link(s) // 1.2.1 Modify link(s)
if ($is_display['edit_lnk'] == 'ur') { // update row case if ($is_display['edit_lnk'] == 'ur') { // update row case
$lnk_goto = 'sql.php3' // $lnk_goto = 'sql.php3'
. '?' . str_replace('&amp;', '&', $url_query) // . '?' . str_replace('&amp;', '&', $url_query)
. '&sql_query=' . urlencode($sql_query) // . '&sql_query=' . urlencode($sql_query)
. '&goto=' . (empty($goto) ? 'tbl_properties.php3' : $goto); // . '&goto=' . (empty($goto) ? 'tbl_properties.php3' : $goto);
// to reduce the length of the URL, because of some browsers limitations:
$lnk_goto = 'sql.php3';
$edit_url = 'tbl_change.php3' $edit_url = 'tbl_change.php3'
. '?' . $url_query . '?' . $url_query
. '&amp;primary_key=' . $uva_condition . '&amp;primary_key=' . $uva_condition