Code

Closes #636 - GOSA logging doesn't work in 2.6.4 (Debian Packages)
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Apr 2009 05:44:33 +0000 (05:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Apr 2009 05:44:33 +0000 (05:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13583 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_log.inc

index bbe31517e228cac1741b3768d6782ddf371138fd..4b846e5722e26f1811178f9ba6aac370a5a51eb7 100644 (file)
@@ -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{