From 28a23fd308091fc7420f6a4125c0396fc7b58386 Mon Sep 17 00:00:00 2001 From: Repellent Date: Thu, 9 Apr 2026 19:37:29 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6=D0=BA?= =?UTF-8?q?=D0=B0=20is=5Fobject=20=D0=B2=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BD=D0=B0=D1=85=20Smarty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- class/class.template.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/class/class.template.php b/class/class.template.php index 85a3dc2..3951bf0 100644 --- a/class/class.template.php +++ b/class/class.template.php @@ -178,7 +178,11 @@ if (function_exists('html_entity_decode')) { // Регистрируем как модификатор, если функция существует $this->registerPlugin('modifier', 'html_entity_decode', 'html_entity_decode'); - } + } + + if (function_exists('is_object')) { + $this->registerPlugin('modifier', 'is_object', 'is_object'); + } // плагин позволяющий поставить метки шаблонов