mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
fixing bug, when preset is already set
This commit is contained in:
parent
483d33fb76
commit
926e3bfca7
@ -226,6 +226,11 @@
|
||||
$this->bocompose->preferencesArray['attachVCardAtCompose']))
|
||||
{
|
||||
$alwaysAttachVCardAtCompose = true;
|
||||
if (!is_array($_REQUEST['preset']['file']) && !empty($_REQUEST['preset']['file']))
|
||||
{
|
||||
$f = $_REQUEST['preset']['file'];
|
||||
$_REQUEST['preset']['file'] = array($f);
|
||||
}
|
||||
$_REQUEST['preset']['file'][] = "vfs://default/apps/addressbook/".$GLOBALS['egw']->accounts->id2name($GLOBALS['egw_info']['user']['account_id'],'person_id')."/.entry";
|
||||
}
|
||||
if (is_array($_REQUEST['preset']))
|
||||
|
Loading…
Reference in New Issue
Block a user