From: hickert Date: Tue, 7 Apr 2009 05:44:33 +0000 (+0000) Subject: Closes #636 - GOSA logging doesn't work in 2.6.4 (Debian Packages) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d130f455f0e05f65d2d620c325050916125e8215;p=gosa.git Closes #636 - GOSA logging doesn't work in 2.6.4 (Debian Packages) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_log.inc b/gosa-core/include/class_log.inc index bbe31517e..4b846e572 100644 --- a/gosa-core/include/class_log.inc +++ b/gosa-core/include/class_log.inc @@ -76,7 +76,7 @@ class log { $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"; } @@ -90,7 +90,7 @@ class log { }else{ - if (isset ($config)){ + if (isset ($this->config)){ if ($this->config->get_cfg_value("logging") == ""){ $this->log_into_syslog($entry); }else{