diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index 68ad83d97f..e5c48baa2e 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -850,7 +850,14 @@ abstract class bo_merge { $content = preg_replace('/\$\$[a-z0-9_\/]+\$\$/i','',$content); } - if ($contentrepeat) fwrite($content_stream, ($n == 0 ? '' : $joiner) . $content); + if ($contentrepeat) + { + fwrite($content_stream, ($n == 0 ? '' : $joiner) . $content); + } + if($lableprint) + { + $contentrep[is_array($id) ? implode(':',$id) : $id] = $content; + } } if ($Labelrepeat) {