fix for php-8

This commit is contained in:
2025-11-18 15:51:51 +05:00
parent c29a647f7b
commit b523bf1fc8

View File

@@ -1463,8 +1463,8 @@
if (defined('RUB_ID'))
{
$replace = [
'[tag:rubheader]' => $this->curentdoc->rubric_header_template,
'[tag:rubfooter]' => $this->curentdoc->rubric_footer_template
'[tag:rubheader]' => $this->curentdoc->rubric_header_template ?? '',
'[tag:rubfooter]' => $this->curentdoc->rubric_footer_template ?? ''
];
$out = str_replace(array_keys($replace), array_values($replace), $out);