diff --git a/ChangeLog b/ChangeLog index ab394cf7e..f8f0c7675 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ $Source$ - extended last fix from Robin to the "MySQL runtime information" and "MySQL system variables" links; - but allowed these directives to be bypassed for super-users. + * libraries/display_tbl.lib.php3, lines 715-724: return to the browse mode + once a "KILL" statement has been run. Thanks to + Florian Perrichot for this suggestion. 2001-11-08 Robin Johnson * config.inc.php3; main.php3; phpinfo.php3: fixed bug #479303 diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 23c9912ec..ad02f8374 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -712,12 +712,16 @@ if (!defined('__LIB_DISPLAY_TBL__')){ . ' WHERE ' . trim(js_format(urldecode($uva_condition), FALSE)) . ' LIMIT 1'; $del_str = $GLOBALS['strDelete']; } else if ($is_display['del_lnk'] == 'kp') { // kill process case + $goto = 'sql.php3' + . '?' . str_replace('&', '&', $url_query) + . '&sql_query=' . urlencode($sql_query) + . '&goto=main.php3'; $del_url = 'sql.php3' . '?lang=' . $lang . '&server=' . $server . '&db=mysql' . '&sql_query=' . urlencode('KILL ' . $row['Id']) - . '&goto=main.php3'; + . '&goto=' . urlencode($goto); $js_conf = 'KILL ' . $row['Id']; $del_str = $GLOBALS['strKill']; } // end if (1.2.2)