diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbf3db8b..11f4e3cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
-## [UNRELEASED]
+## [1.21.26] - 2026-02-12
### Fixed
diff --git a/inc/container.class.php b/inc/container.class.php
index 8ef8ccb4..b2c3f0cd 100644
--- a/inc/container.class.php
+++ b/inc/container.class.php
@@ -682,6 +682,7 @@ public static function generateTemplate($fields)
continue;
}
+ $template_class = file_get_contents(PLUGINFIELDS_DIR . '/templates/container.class.tpl');
$template_class = str_replace(
['%%CLASSNAME%%', '%%ITEMTYPE%%', '%%CONTAINER%%', '%%ITEMTYPE_RIGHT%%'],
[
@@ -701,6 +702,7 @@ public static function generateTemplate($fields)
}
// Generate Datainjection files
+ $template_class = file_get_contents(PLUGINFIELDS_DIR . '/templates/injection.class.tpl');
if ($template_class === false) {
Toolbox::logInFile('php-errors', 'Error: unable to load injection.class.tpl template.');
return false;
diff --git a/plugin.xml b/plugin.xml
index 0e0fb795..a883048e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -98,6 +98,11 @@ Il existe un [script de migration](https://github.com/pluginsGLPI/customfields/b
Olivier Moron
+
+ 1.21.26
+ ~10.0.11
+ https://github.com/pluginsGLPI/fields/releases/download/1.21.26/glpi-fields-1.21.26.tar.bz2
+
1.21.25
~10.0.11
diff --git a/setup.php b/setup.php
index 87da8553..1b02c436 100644
--- a/setup.php
+++ b/setup.php
@@ -28,7 +28,7 @@
* -------------------------------------------------------------------------
*/
-define('PLUGIN_FIELDS_VERSION', '1.21.25');
+define('PLUGIN_FIELDS_VERSION', '1.21.26');
// Minimal GLPI version, inclusive
define('PLUGIN_FIELDS_MIN_GLPI', '10.0.11');