check.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fec2f09fd2711ba04da78418c534e0a37092e92a
Author: Christian Lohmaier <[email protected]>
Date: Thu Jun 9 02:00:30 2016 +0200
Bundled languages are optional
diff --git a/check.php b/check.php
index 4dab8fa..f7f2eab 100644
--- a/check.php
+++ b/check.php
@@ -41,7 +41,7 @@ function get_update_info($agent=null) {
if ($agent == null)
return array();
- $pattern = '#^(?P<product>[^/ ]+)[/
]+(?P<version>[0-9]+(?:\.[0-9]+)?)[^\(]+\((?P<buildid>[^;\( ]*) *; (?P<os>[^;
]*); (?P<arch>[^; ]*); BundledLanguages=(?<langs>[^;\)]*)\)#i';
+ $pattern = '#^(?P<product>[^/ ]+)[/
]+(?P<version>[0-9]+(?:\.[0-9]+)?)[^\(]+\((?P<buildid>[^;\( ]*) *; (?P<os>[^;
]*); (?P<arch>[^; ]*); \(BundledLanguages=(?<langs>[^;\)]*)\)?\)#i';
if (!preg_match($pattern, $agent, $match))
return array();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits