diff --git a/phpgwapi/inc/class.setup_process.inc.php b/phpgwapi/inc/class.setup_process.inc.php index fe885978a7..ce085d194b 100644 --- a/phpgwapi/inc/class.setup_process.inc.php +++ b/phpgwapi/inc/class.setup_process.inc.php @@ -334,6 +334,7 @@ echo '
process->default_records(): Including default records for ' . $appname . "\n"; } $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin(); + $oProc = &$GLOBALS['phpgw_setup']->oProc; // to be compatible with old apps include ($appdir.'default_records.inc.php'); $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit(); } @@ -795,4 +796,4 @@ return array($arr,$pk,$fk,$ix,$uc); } } -?> \ No newline at end of file +?>