diff --git a/setup/setup_demo.php b/setup/setup_demo.php index cf900ea407..9e294e018b 100644 --- a/setup/setup_demo.php +++ b/setup/setup_demo.php @@ -149,9 +149,10 @@ var $accounts; } $GLOBALS['phpgw'] = new phpgw; - $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db; - $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); - $GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts'); + $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db; + $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); + $GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts'); + $GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation'); if(($GLOBALS['phpgw_info']['server']['account_repository'] == 'ldap') && !$GLOBALS['phpgw']->accounts->ds) {