forked from extern/egroupware
Support customfields at the beginning of content
This commit is contained in:
parent
2ffcdf5dc9
commit
5be77f5ef2
@ -314,7 +314,7 @@ class calendar_merge extends Api\Storage\Merge
|
|||||||
$replacements['$$'.($prefix?$prefix.'/':'').'calendar_owner/primary_group$$'] = $GLOBALS['egw']->accounts->id2name($GLOBALS['egw']->accounts->id2name($event['owner'],'account_primary_group'));
|
$replacements['$$'.($prefix?$prefix.'/':'').'calendar_owner/primary_group$$'] = $GLOBALS['egw']->accounts->id2name($GLOBALS['egw']->accounts->id2name($event['owner'],'account_primary_group'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if($content && strpos($content, '$$#') !== 0)
|
if($content && strpos($content, '$$#') !== FALSE)
|
||||||
{
|
{
|
||||||
$this->cf_link_to_expand($event, $content, $replacements);
|
$this->cf_link_to_expand($event, $content, $replacements);
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ class infolog_merge extends Api\Storage\Merge
|
|||||||
if(!in_array('info_'.$name, $types['select'])) $types['select'][] = 'info_'.$name;
|
if(!in_array('info_'.$name, $types['select'])) $types['select'][] = 'info_'.$name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($content && strpos($content, '$$#') !== 0)
|
if($content && strpos($content, '$$#') !== FALSE)
|
||||||
{
|
{
|
||||||
$this->cf_link_to_expand($record->get_record_array(), $content, $info);
|
$this->cf_link_to_expand($record->get_record_array(), $content, $info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user