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:
authorStefan Giehl <stefan@matomo.org>2022-02-08 12:02:14 +0300
committerGitHub <noreply@github.com>2022-02-08 12:02:14 +0300
commitfd7b4440deea1f4c189123d53dbdcf2af46c1762 (patch)
tree38e8be8b711bf3a8131c4f098615b525bc82e06c
parentef4b336566a472b52cc279f7a4b236ad27197f8d (diff)
Ensure Google SEO metrics are returned with correct type (#18704)
-rw-r--r--plugins/SEO/Metric/Google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SEO/Metric/Google.php b/plugins/SEO/Metric/Google.php
index 362bdfd207..da855196c8 100644
--- a/plugins/SEO/Metric/Google.php
+++ b/plugins/SEO/Metric/Google.php
@@ -53,7 +53,7 @@ class Google implements MetricsProvider
}
} catch (\Exception $e) {
$this->logger->info('Error while getting Google search SEO stats: {message}', array('message' => $e->getMessage()));
- return Piwik::translate('General_ErrorTryAgain');
+ $pageCount = Piwik::translate('General_ErrorTryAgain');
}
return array(