an assignment syntax does not work on PHP 5.1.2

This commit is contained in:
Marc Delisle
2006-01-12 21:03:34 +00:00
parent 7ceba19cb8
commit 734a5ca6fc
2 changed files with 3 additions and 1 deletions

View File

@@ -136,7 +136,8 @@ function PMA_DBI_convert_message( $message ) {
);
if ( $server_language = PMA_DBI_fetch_value( 'SHOW VARIABLES LIKE \'language\';', 0, 1 ) ) {
if ( preg_match( '&(?:\\\|\\/)([^\\\\\/]*)(?:\\\|\\/)$&i', $server_language, $found = array() ) ) {
$found = array();
if ( preg_match( '&(?:\\\|\\/)([^\\\\\/]*)(?:\\\|\\/)$&i', $server_language, $found )) {
$server_language = $found[1];
}
}