fixed bug: high ascii char in preg_match
This commit is contained in:
@@ -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...
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user