Добавил проверку на существование свойства (испр. warning PHP-8.4)

This commit is contained in:
2026-02-21 18:51:21 +05:00
parent 72441ea69d
commit af99f67da9

View File

@@ -794,7 +794,7 @@
{
$hash = 'g-' . UGROUP; // Группа пользователей
$hash .= 'r-' . RUB_ID; // ID Рубрики
$hash .= 't-' . $this->curentdoc->rubric_tmpl_id; // Шаблон рубрики
$hash .= 't-' . (isset($this->curentdoc->rubric_tmpl_id) ? $this->curentdoc->rubric_tmpl_id : '0'); // Шаблон рубрики
//$hash .= 'u-' . get_redirect_link(); // ToDo
return md5($hash);