Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#877 closed Bug (fixed)

Sites management, error in the template

Reported by: Jeremie78 Owned by:
Priority: low Milestone: Piwik 0.4.2
Component: Core Keywords:
Cc: Sensitive:


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)}

Attachments (1)

piwik_tag.tpl (548 bytes) - added by Jeremie78 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by Jeremie78


comment:1 Changed 5 years ago by vipsoft (robocoder)

  • Milestone set to 1 - Piwik 0.4.2

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

comment:2 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 5 years ago by vipsoft (robocoder)

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

comment:4 Changed 5 years ago by vipsoft (robocoder)

(In [1337]) refs #877 - refactored

comment:5 Changed 5 years ago by koteiko

Note: See TracTickets for help on using tickets.