index bbe31517e228cac1741b3768d6782ddf371138fd..4b846e5722e26f1811178f9ba6aac370a5a51eb7 100644 (file)
$entry['changes'] = $changes;
$entry['result'] = $result;
- if(!isset($config) || ( $this->config->get_cfg_value("logging") == "" && empty($entry['user']))){
+ if(!isset($this->config) || ( $this->config->get_cfg_value("logging") == "" && empty($entry['user']))){
$entry['user'] = "unknown";
}
}else{
- if (isset ($config)){
+ if (isset ($this->config)){
if ($this->config->get_cfg_value("logging") == ""){
$this->log_into_syslog($entry);
}else{