* Infolog - make project fields available for merge

Just the project fields, no elements or tables
This commit is contained in:
nathangray 2017-06-19 14:32:41 -06:00
parent 57934a2935
commit 74c501c0a3

View File

@ -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)