From b523bf1fc8587294b644bb1e3293907824927d42 Mon Sep 17 00:00:00 2001 From: Repellent Date: Tue, 18 Nov 2025 15:51:51 +0500 Subject: [PATCH] fix for php-8 --- class/class.core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/class.core.php b/class/class.core.php index ac9780e..7969d55 100644 --- a/class/class.core.php +++ b/class/class.core.php @@ -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);