Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-10-31 02:53:46 +0300
committerGitHub <noreply@github.com>2016-10-31 02:53:46 +0300
commit44283a6f19e4f1b2ca96e4ebacab1f2dc8eb42ed (patch)
treec9c21b56c40f74cdd4c96d6f1f6e11bd0cd597f7 /plugins/SEO/Metric/Dmoz.php
parent395d447052b81ed98b7840df863ec183ed1e285d (diff)
parent67d67100e4c6b8cd42bae8460477ffb6d0e23988 (diff)
Merge 3.x-dev into master for 3.0.0-b2 release3.0.0-b2
Diffstat (limited to 'plugins/SEO/Metric/Dmoz.php')
-rw-r--r--plugins/SEO/Metric/Dmoz.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SEO/Metric/Dmoz.php b/plugins/SEO/Metric/Dmoz.php
index c7b8860a89..05e8e1a0e9 100644
--- a/plugins/SEO/Metric/Dmoz.php
+++ b/plugins/SEO/Metric/Dmoz.php
@@ -38,7 +38,7 @@ class Dmoz implements MetricsProvider
try {
$response = Http::sendHttpRequest(self::URL . urlencode($domain), $timeout = 10, @$_SERVER['HTTP_USER_AGENT']);
- preg_match('#DMOZ Sites[^\(]+\([0-9]-[0-9]+ of ([0-9]+)\)#', $response, $p);
+ preg_match('#[0-9] - [0-9]+ of ([0-9]+)#', $response, $p);
if (!empty($p[1])) {
$value = NumberFormatter::getInstance()->formatNumber((int)$p[1]);
} else {