Skip to content

Commit bfb4da0

Browse files
Applied PR feedback
1 parent b33df04 commit bfb4da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Google/Authorization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ protected function getUserInfoByAccessToken(\Matomo\Dependencies\GoogleAnalytics
137137
private function getValidUri($uris)
138138
{
139139
$validUri = Url::getCurrentUrlWithoutQueryString() . '?module=GoogleAnalyticsImporter&action=processAuthCode';
140-
$validUriFallback = SettingsPiwik::getPiwikUrl() . '?module=GoogleAnalyticsImporter&action=processAuthCode'; // Some MWP installs was not working as expected when using Url::getCurrentUrlWithoutQueryString()
140+
$validUriFallback = SettingsPiwik::getPiwikUrl() . 'index.php?module=GoogleAnalyticsImporter&action=processAuthCode'; // Some MWP installs was not working as expected when using Url::getCurrentUrlWithoutQueryString()
141141
foreach ($uris as $uri) {
142142
if (stripos($uri, $validUri) !== \false || stripos($uri, $validUriFallback) !== \false) {
143143
return $uri;

0 commit comments

Comments
 (0)