From d130f455f0e05f65d2d620c325050916125e8215 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 7 Apr 2009 05:44:33 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_log.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{ -- 2.30.2