diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-02-08 12:02:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 12:02:14 +0300 |
commit | fd7b4440deea1f4c189123d53dbdcf2af46c1762 (patch) | |
tree | 38e8be8b711bf3a8131c4f098615b525bc82e06c | |
parent | ef4b336566a472b52cc279f7a4b236ad27197f8d (diff) |
Ensure Google SEO metrics are returned with correct type (#18704)
-rw-r--r-- | plugins/SEO/Metric/Google.php | 2 |
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( |