forked from extern/egroupware
bugfix from Jan Schneider <jan-AT-janschneider.net>
This commit is contained in:
parent
9909652b9b
commit
4e75d475fc
@ -1724,7 +1724,7 @@ $readonlys['button[vcard]'] = true;
|
||||
static $userphone;
|
||||
if (is_null($userphone))
|
||||
{
|
||||
$user = $this->read('account_id:'.$GLOBALS['egw_info']['user']['account_id']);
|
||||
$user = $this->read('account:'.$GLOBALS['egw_info']['user']['account_id']);
|
||||
$userphone = is_array($user) ? ($user['tel_work'] ? $user['tel_work'] : $user['tel_home']) : false;
|
||||
}
|
||||
$link = str_replace(array('%1','%u','%t'),array(urlencode($number),$GLOBALS['egw_info']['user']['account_lid'],$userphone),
|
||||
|
Loading…
Reference in New Issue
Block a user