diff --git a/includes/lib_functions.php b/includes/lib_functions.php index c1e2f7f6fc..5806d1a4fb 100644 --- a/includes/lib_functions.php +++ b/includes/lib_functions.php @@ -798,8 +798,7 @@ function format_string ($format, $data) { //finally get the correct version number $known = array('Version', $ub, 'other'); - $pattern = '#(?' . join('|', $known) . - ')[/ ]+(?[0-9.|a-zA-Z.]*)#'; + $pattern = '#(?' . join('|', $known) . ')[/ ]+(?[0-9.|a-zA-Z.]*)#'; if (!preg_match_all($pattern, $u_agent, $matches)) { // we have no matching number just continue }