Code

Do not write '1' as result to log databse, if there is no result given.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 09:37:16 +0000 (09:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 09:37:16 +0000 (09:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7865 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_log.inc

index c321b201411435bddf7bc85dc203b3bbf8d01ccb..705fc1f38aa735873752d8d1e4102b721f7424df 100644 (file)
@@ -43,7 +43,7 @@ class log {
 
     \sa log()
    */
-  function log($action,$objecttype,$object,$changes_array = array(),$result = TRUE)
+  function log($action,$objecttype,$object,$changes_array = array(),$result = "")
   {
     if(!is_array($changes_array)){
       trigger_error("log(string,string,string,array(),bool). Forth parameter must be an array.");