From d00cab0072c0f86ea7d5ad2c73a9e633836ca08f Mon Sep 17 00:00:00 2001 From: Repellent Date: Fri, 14 Nov 2025 13:34:19 +0500 Subject: [PATCH] fix for Smarty 5 --- forms/module.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forms/module.php b/forms/module.php index 0a3b723..5c71a95 100644 --- a/forms/module.php +++ b/forms/module.php @@ -81,6 +81,8 @@ $lang_file = BASE_DIR . '/modules/forms/lang/' . $_SESSION['admin_language'] . '.txt'; $AVE_Template->config_load($lang_file, 'module'); + $response = ''; + // создаём переменные с версией движка $ave14 = ((float)str_replace(',', '.', APP_VERSION) < 1.5); $AVE_Template->assign('ave14', $ave14);