forked from extern/egroupware
Fix sharing only looks for addressbook templates for insert into document
This commit is contained in:
parent
f5c2ba52c8
commit
e099086151
@ -82,7 +82,7 @@ class Sharing extends \EGroupware\Api\Sharing
|
||||
if ($GLOBALS['egw_info']['user']['apps']['mail'] && class_exists($appname.'_merge'))
|
||||
{
|
||||
$documents = call_user_func(array($appname.'_merge', 'document_action'),
|
||||
$GLOBALS['egw_info']['user']['preferences']['addressbook']['document_dir'],
|
||||
$GLOBALS['egw_info']['user']['preferences'][$appname]['document_dir'],
|
||||
1, 'Insert in document', 'shareDocument_'
|
||||
);
|
||||
$documents['order'] = 20;
|
||||
|
Loading…
Reference in New Issue
Block a user