diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index d376dfeac9..46f3921a59 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -965,8 +965,8 @@ function ExecMethod($method, $functionparam = '_UNDEF_', $loglevel = 3, $classpa if (!method_exists($GLOBALS[$classname],$functionname)) { - echo "
".function_backtrace().": no methode '$functionname' in class '$classname'
\n"; - return False; + error_log("ExecMethod('$method', ...) No methode '$functionname' in class '$classname'! ".function_backtrace()); + return false; } $method = array($GLOBALS[$classname],$functionname); } @@ -974,7 +974,8 @@ function ExecMethod($method, $functionparam = '_UNDEF_', $loglevel = 3, $classpa { return $functionparam != '_UNDEF_' ? call_user_func($method,$functionparam) : call_user_func($method); } - return "ExecMethod('$method'): error in parts!
".function_backtrace()."