mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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