fixed bug: high ascii char in preg_match

This commit is contained in:
Sebastian Mendel
2006-01-25 08:16:40 +00:00
parent fcbfad8708
commit 15b490cfc4
2 changed files with 59 additions and 55 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-01-25 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* server_status.php:
fixed bug: high ascii char in preg_match
2006-01-24 Marc Delisle <lem9@users.sourceforge.net>
* lang/*: strViewMaxExactCount for the VIEW row count detection
I'm working on...

View File

@@ -304,7 +304,7 @@ foreach ( $server_status as $name => $value ) {
unset( $server_status[$name] );
} else {
foreach ( $allocations as $filter => $section ) {
if ( preg_match( '<EFBFBD>^' . $filter . '<EFBFBD>i', $name )
if ( preg_match( '/^' . $filter . '/', $name )
&& isset( $server_status[$name] ) ) {
unset( $server_status[$name] );
$sections[$section]['vars'][$name] = $value;