an assignment syntax does not work on PHP 5.1.2
This commit is contained in:
@@ -9,6 +9,7 @@ $Source$
|
|||||||
* Documentation.html: typo, thanks to Cédric Corazza
|
* Documentation.html: typo, thanks to Cédric Corazza
|
||||||
* libraries/common.lib.php: remove high-ascii characters, and an
|
* libraries/common.lib.php: remove high-ascii characters, and an
|
||||||
assignment syntax that does not work on PHP 5.1.2
|
assignment syntax that does not work on PHP 5.1.2
|
||||||
|
* libraries/database_interface.lib.php: PHP 5.1.2 compatibility
|
||||||
|
|
||||||
2006-01-11 Marc Delisle <lem9@users.sourceforge.net>
|
2006-01-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* sql.php, libraries/sqlparser.lib.php: other fixes for bug #1394479
|
* sql.php, libraries/sqlparser.lib.php: other fixes for bug #1394479
|
||||||
|
@@ -136,7 +136,8 @@ function PMA_DBI_convert_message( $message ) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if ( $server_language = PMA_DBI_fetch_value( 'SHOW VARIABLES LIKE \'language\';', 0, 1 ) ) {
|
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];
|
$server_language = $found[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user