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:
authorDavid B <997605+DevDavido@users.noreply.github.com>2022-10-07 12:41:27 +0300
committerGitHub <noreply@github.com>2022-10-07 12:41:27 +0300
commit3c2a7f346b0f28a1124e53c3fd91e42f97b284ee (patch)
tree4f93be6f60cbf4779f02e98b6d2f6ac00fa20ddc /plugins
parentbbb545a8657a664db3959651252c7b61bc5d3707 (diff)
Return correct parameter divId for JS opt-out (#19827)
See title.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreAdminHome/OptOutManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/OptOutManager.php b/plugins/CoreAdminHome/OptOutManager.php
index 927e3ad630..eba6b88f6a 100644
--- a/plugins/CoreAdminHome/OptOutManager.php
+++ b/plugins/CoreAdminHome/OptOutManager.php
@@ -197,7 +197,7 @@ class OptOutManager
string $fontSize, string $fontFamily, bool $applyStyling, bool $showIntro): string
{
return '<div id="matomo-opt-out"></div>
-<script src="'.rtrim($matomoUrl, '/').'/index.php?module=CoreAdminHome&action=optOutJS&div=matomo-opt-out&language='.$language.($applyStyling ? '&backgroundColor='.$backgroundColor.'&fontColor='.$fontColor.'&fontSize='.$fontSize.'&fontFamily='.$fontFamily : '').'&showIntro='.($showIntro ? '1' : '0').'"></script>';
+<script src="'.rtrim($matomoUrl, '/').'/index.php?module=CoreAdminHome&action=optOutJS&divId=matomo-opt-out&language='.$language.($applyStyling ? '&backgroundColor='.$backgroundColor.'&fontColor='.$fontColor.'&fontSize='.$fontSize.'&fontFamily='.$fontFamily : '').'&showIntro='.($showIntro ? '1' : '0').'"></script>';
}
/**