diff --git a/ChangeLog b/ChangeLog index b4b3e944e..8152b903e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-04 Steve Alberty + * lib.inc.php3: fixed #444017 (thanks anonymous) + 2001-08-04 Loïc Chapeaux * config.inc.php3, db_details.php3, Documentation.html, tbl_properties.php3: added two directives to disable the use of diff --git a/lib.inc.php3 b/lib.inc.php3 index 26c92b98f..f56027b86 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -850,7 +850,7 @@ var errorMsg2 = '' . "\n"; echo ' ' . "\n"; } - if ($sql_query == 'SHOW PROCESSLIST') { + if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) { echo ' ' . "\n"; } while ($field = mysql_fetch_field($dt_result)) { @@ -929,7 +929,8 @@ var errorMsg2 = 'numeric == 1) { - if ($sql_query == 'SHOW PROCESSLIST') { + if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) { + $Id = $row[$i]; } } @@ -986,7 +987,7 @@ var errorMsg2 = '