return to the browse mode once a "KILL" statement has been run

This commit is contained in:
Loïc Chapeaux
2001-11-09 08:14:37 +00:00
parent 476ef78631
commit 14586ce71f
2 changed files with 8 additions and 1 deletions

View File

@@ -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 <perrich at club-internet.fr> for this suggestion.
2001-11-08 Robin Johnson <robbat2@users.sourceforge.net>
* config.inc.php3; main.php3; phpinfo.php3: fixed bug #479303

View File

@@ -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('&amp;', '&', $url_query)
. '&sql_query=' . urlencode($sql_query)
. '&goto=main.php3';
$del_url = 'sql.php3'
. '?lang=' . $lang
. '&amp;server=' . $server
. '&amp;db=mysql'
. '&amp;sql_query=' . urlencode('KILL ' . $row['Id'])
. '&amp;goto=main.php3';
. '&amp;goto=' . urlencode($goto);
$js_conf = 'KILL ' . $row['Id'];
$del_str = $GLOBALS['strKill'];
} // end if (1.2.2)