From 8ab36f57d4c66d3833ec61197c36c1e4f9e350f4 Mon Sep 17 00:00:00 2001
From: Thomas Steur <tsteur@users.noreply.github.com>
Date: Tue, 27 Sep 2016 14:59:17 +1300
Subject: [PATCH] No data has been recorded screen -> no website name is
 displayed (#10570)

fix #10546
---
 plugins/SitesManager/Controller.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php
index 225b2bdc09..b488c39d89 100644
--- a/plugins/SitesManager/Controller.php
+++ b/plugins/SitesManager/Controller.php
@@ -141,6 +141,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
 
         return $this->renderTemplate('siteWithoutData', array(
             'siteName'     => $this->site->getName(),
+            'idSite' => $this->site->getId(),
             'trackingHelp' => $this->renderTemplate('_displayJavascriptCode', array(
                 'displaySiteName' => Common::unsanitizeInputValue($this->site->getName()),
                 'jsTag'           => $javascriptGenerator->generate($this->idSite, $piwikUrl),
-- 
GitLab