Permalink
Browse files

Wrap long lines

  • Loading branch information...
1 parent e672824 commit 91e7b9ac4f873e672074acb89612f9a12a295b6a @nijel nijel committed Apr 27, 2012
Showing with 11 additions and 2 deletions.
  1. +11 −2 libraries/database_interface.lib.php
@@ -213,9 +213,18 @@ function PMA_DBI_convert_message($message)
'german' => 'CP1252', //'latin1',
);
- if ($server_language = PMA_DBI_fetch_value('SHOW VARIABLES LIKE \'language\';', 0, 1)) {
+ $server_language = PMA_DBI_fetch_value(
+ 'SHOW VARIABLES LIKE \'language\';',
+ 0,
+ 1
+ );
+ if ($server_language) {
$found = array();
- if (preg_match('&(?:\\\|\\/)([^\\\\\/]*)(?:\\\|\\/)$&i', $server_language, $found)) {
+ if (preg_match(
+ '&(?:\\\|\\/)([^\\\\\/]*)(?:\\\|\\/)$&i',
+ $server_language,
+ $found
+ )) {
$server_language = $found[1];
}
}

0 comments on commit 91e7b9a

Please sign in to comment.