From 35ec6e9c6aaf545722a6bbe4b16f2adee6e23902 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Nov 2007 09:37:16 +0000 Subject: [PATCH] Do not write '1' as result to log databse, if there is no result given. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7865 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_log.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_log.inc b/include/class_log.inc index c321b2014..705fc1f38 100644 --- a/include/class_log.inc +++ b/include/class_log.inc @@ -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."); -- 2.30.2