mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
Api: Fix cf sub-entry placeholder expansion was not passing content for placeholders like {{#customer/n_fn}}
This commit is contained in:
parent
c53551ab2b
commit
82423d60bb
@ -1723,7 +1723,7 @@ abstract class Merge
|
|||||||
{
|
{
|
||||||
// If we send the real content it can result in infinite loop of lookups
|
// If we send the real content it can result in infinite loop of lookups
|
||||||
// so we send only the used fields
|
// so we send only the used fields
|
||||||
$content = $expand_sub_cfs[$field] ? $expand_sub_cfs[$field] : '';
|
$content = $expand_sub_cfs[$field] ?? $matches[0][$index];
|
||||||
$app_replacements[$field] = $this->get_app_replacements($field_app, $values['#' . $field], $content);
|
$app_replacements[$field] = $this->get_app_replacements($field_app, $values['#' . $field], $content);
|
||||||
}
|
}
|
||||||
$replacements[$placeholders[$index]] = $app_replacements[$field]['$$' . $sub[$index] . '$$'];
|
$replacements[$placeholders[$index]] = $app_replacements[$field]['$$' . $sub[$index] . '$$'];
|
||||||
|
Loading…
Reference in New Issue
Block a user