forked from extern/egroupware
* Infolog - make project fields available for merge
Just the project fields, no elements or tables
This commit is contained in:
parent
57934a2935
commit
74c501c0a3
@ -148,6 +148,11 @@ class infolog_merge extends Api\Storage\Merge
|
|||||||
$array['project'] = Link::title('projectmanager', $app_id);
|
$array['project'] = Link::title('projectmanager', $app_id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (strpos($content, '$$project/') !== false && $array['pm_id'] && class_exists('projectmanager_merge'))
|
||||||
|
{
|
||||||
|
$pm_merge = new projectmanager_merge($array['pm_id']);
|
||||||
|
$info += $pm_merge->projectmanager_replacements($array['pm_id'],'project',$content);
|
||||||
|
}
|
||||||
|
|
||||||
// Add markers
|
// Add markers
|
||||||
foreach($array as $key => &$value)
|
foreach($array as $key => &$value)
|
||||||
|
Loading…
Reference in New Issue
Block a user