fix for php-8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user