From ddbc6e2ff439f9d781f119462f4cf4655fcac874 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Fri, 22 Jun 2018 19:03:48 +0200 Subject: [PATCH] [fix] fixing variable issues --- bureau/class/m_piwik.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/class/m_piwik.php b/bureau/class/m_piwik.php index 4a066f51..7b08002e 100644 --- a/bureau/class/m_piwik.php +++ b/bureau/class/m_piwik.php @@ -52,8 +52,8 @@ class m_piwik { * Constructor */ function m_piwik() { - $this->piwik_server_uri=variable_get('piwik_server_uri',null,'Remote Piwik server uri'); - $this->piwik_admin_token=variable_get('piwik_admin_token',null,'Remote Piwik super-admin token'); + $this->piwik_server_uri=variable_get('piwik_server_uri','','Remote Piwik server uri'); + $this->piwik_admin_token=variable_get('piwik_admin_token','','Remote Piwik super-admin token'); $this->alternc_users = $this->get_alternc_users(); $this->alternc_sites = $this->get_alternc_sites(); }