removed a bug caused by previos comit (does not read account_data)

This commit is contained in:
Ralf Becker 2001-10-03 19:37:26 +00:00
parent 11891bb25a
commit 7a151f621c

View File

@ -74,8 +74,13 @@
if (!is_array($account_data)) if (!is_array($account_data))
{ {
$GLOBALS['phpgw']->accounts->read_repository(); if (!isset($this->account_data[$id])) // do some cacheing
$account_data = $GLOBALS['phpgw']->accounts->data; {
$GLOBALS['phpgw']->accounts->accounts($id);
$GLOBALS['phpgw']->accounts->read_repository();
$this->account_data[$id] = $GLOBALS['phpgw']->accounts->data;
}
$account_data = $this->account_data[$id];
} }
if ($GLOBALS['phpgw_info']['user']['preferences']['infolog']['longNames']) if ($GLOBALS['phpgw_info']['user']['preferences']['infolog']['longNames'])
{ {