From ddf580c51b5f7c4b6f295469b327c308863c2509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 4 Oct 2016 12:02:02 +0200 Subject: [PATCH] Fix OmniWeb version match (issue #12615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Config.php b/libraries/Config.php index 543c980d50..b3dce0e5e7 100644 --- a/libraries/Config.php +++ b/libraries/Config.php @@ -220,7 +220,7 @@ class Config $this->set('PMA_USR_BROWSER_VER', intval($log_version[1]) + 4); $this->set('PMA_USR_BROWSER_AGENT', 'IE'); } elseif (preg_match( - '@OmniWeb/([0-9]\.[0-9]{1,2})@', + '@OmniWeb/([0-9]{1,3})@', $HTTP_USER_AGENT, $log_version )) {