[fix] fixing variable issues

This commit is contained in:
Benjamin Sonntag 2018-06-22 19:03:48 +02:00
parent 1a0614dcf3
commit ddbc6e2ff4
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}