summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCDuv <74853-CDuv@users.noreply.gitlab.com>2019-05-08 17:25:38 +0000
committerCDuv <74853-CDuv@users.noreply.gitlab.com>2019-05-08 17:25:38 +0000
commit38635c645e5e7af59b39a6936c3280eaf999a221 (patch)
treeef0b580700fb60924e3f1a7622cfceba469944dd /lib
parent7a3a1c2f40e269d357d3f2deb422ca4f4f0388ed (diff)
downloadgitlab-ce-38635c645e5e7af59b39a6936c3280eaf999a221.tar.gz
Adds quotes to Matomo/Piwik website ID
When using Matomo/Piwik integration, only integer website IDs can be used. If using the "Protect Track ID" Matomo plugin (https://plugins.matomo.org/ProtectTrackID), website IDs are strings which the "_piwik.html.haml" layout file does not supports because it assumes "extra_config.piwik_site_id" variable contains an integer and prints it to JavaScript code without quotes. This commits surrounds "extra_config.piwik_site_id" variable with double quotes (") so that it works with both integers and strings. Issue: #61606
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions