mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
* mergeprint: fix problem with not replaced app-links like #contact/nfn; fix problem with not replaced date only option on date/datetime customfields
This commit is contained in:
parent
4cd32b9deb
commit
5637674315
@ -1158,7 +1158,7 @@ abstract class bo_merge
|
||||
|
||||
foreach($cf as $index => $field)
|
||||
{
|
||||
if($cfs[$field] && in_array($cfs[$field]['type'],$GLOBALS['egw_info']['apps']) )
|
||||
if($cfs[$field] && in_array($cfs[$field]['type'],array_keys($GLOBALS['egw_info']['apps'])) )
|
||||
{
|
||||
// Get replacements for that application
|
||||
$field_app = $cfs[$field]['type'];
|
||||
@ -1173,6 +1173,10 @@ abstract class bo_merge
|
||||
}
|
||||
$replacements[$placeholders[$index]] = $app_replacements[$field_app]['$$'.$sub[$index].'$$'];
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($cfs[$field]['type'] == 'date' || $cfs[$field]['type'] == 'date-time') $this->date_fields[] = '#'.$field;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user