diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 32078c4d5b..56e93e6da6 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -474,7 +474,7 @@ function ExecObject($object, $functionparams = '_UNDEF_', $loglevel = 3, $classp $GLOBALS['phpgw']->preferences = CreateObject('phpgwapi.preferences'); $GLOBALS['phpgw']->applications = CreateObject('phpgwapi.applications'); $GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation'); - $GLOBALS['phpgw']->log = CreateObject('phpgwapi.log'); + $GLOBALS['phpgw']->log = CreateObject('phpgwapi.errorlog'); // $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime'); print_debug('main class loaded'); if (! isset($phpgw_info['flags']['included_classes']['error']) ||