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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-05-04 10:55:53 +0300
committerGitHub <noreply@github.com>2020-05-04 10:55:53 +0300
commit98ef69ae7e5fdce9f0cde77515be70d6bca79b6e (patch)
tree372f08b33ba87cd5b69684198b1fcff1a85a5e50
parent3833d95bf336d767c6d8fd9451dd6f502e4c3472 (diff)
Fix Javascript error in JS global template causing side effects (#15901)
fix https://github.com/matomo-org/wp-matomo/issues/236 fix https://wordpress.org/support/topic/security-string-token-invalid/#topic-12754303-replies
-rw-r--r--plugins/Morpheus/templates/_jsGlobalVariables.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Morpheus/templates/_jsGlobalVariables.twig b/plugins/Morpheus/templates/_jsGlobalVariables.twig
index 7f127d5b2c..70f7710936 100644
--- a/plugins/Morpheus/templates/_jsGlobalVariables.twig
+++ b/plugins/Morpheus/templates/_jsGlobalVariables.twig
@@ -16,7 +16,7 @@
symbolDecimal: "{{ 'Intl_NumberSymbolDecimal'|translate }}"
};
- piwik.relativePluginWebDirs = {{ relativePluginWebDirs|json_encode|raw }}
+ piwik.relativePluginWebDirs = {{ relativePluginWebDirs|json_encode|raw }};
{% if userLogin %}piwik.userLogin = "{{ userLogin|e('js')}}";{% endif %}