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'); + } // плагин позволяющий поставить метки шаблонов