From: hickert Date: Fri, 23 Nov 2007 09:37:16 +0000 (+0000) Subject: Do not write '1' as result to log databse, if there is no result given. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35ec6e9c6aaf545722a6bbe4b16f2adee6e23902;p=gosa.git 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 --- 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.");