* 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 a8adf9dd54
commit 7af5c268a9

View File

@ -149,7 +149,12 @@ 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)
{ {