diff --git a/class/class.core.php b/class/class.core.php index 1a32b37..2a5e570 100644 --- a/class/class.core.php +++ b/class/class.core.php @@ -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);