diff --git a/ChangeLog b/ChangeLog index a61ede76c..cc5fb250e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-07-18 Marc Delisle + * libraries/display_tbl.lib.php3: bug 579785, Edit links URLs too long + for some browsers + 2002-07-18 Steve Alberty * db_details_structure.php3: correct wrong link from table size to stats diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index b120f7d7c..4c8da258b 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -878,10 +878,13 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ // 1.2.1 Modify link(s) if ($is_display['edit_lnk'] == 'ur') { // update row case - $lnk_goto = 'sql.php3' - . '?' . str_replace('&', '&', $url_query) - . '&sql_query=' . urlencode($sql_query) - . '&goto=' . (empty($goto) ? 'tbl_properties.php3' : $goto); +// $lnk_goto = 'sql.php3' +// . '?' . str_replace('&', '&', $url_query) +// . '&sql_query=' . urlencode($sql_query) +// . '&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' . '?' . $url_query . '&primary_key=' . $uva_condition