Sites management, error in the template #877

anonymous-piwik-user opened this Issue Jul 24, 2009 · 5 comments

2 participants


A problem has been found on this page :

A non initialized var causes a minor error, it's located in the template file : plugins/CoreHome/templates/piwik_tag.tpl

You can patch the template this way :

Delete the first line :

{if $piwikUrl == '' || $debugTrackVisitsInsidePiwikUI}

Replace by :

{if $piwikUrl == '' || (isset($debugTrackVisitsInsidePiwikUI) && $debugTrackVisitsInsidePiwikUI)}

Attachment: plugins/CoreHome/templates/piwik_tag.tpl


That just masks the error. Here's the right fix:


(In [1331]) fixes #877 - error in template


(In [1334]) refs #877 - apply changes across all admin plugins


(In [1337]) refs #877 - refactored

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.4.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment