diff --git a/CHANGELOG.md b/CHANGELOG.md index 21d13444..74e4cef9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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] + +### Fixed + +- Fix error during container table installation + ## [1.21.27] - 2026-02-12 - Fix template generation error on update diff --git a/inc/container.class.php b/inc/container.class.php index b4ed0169..708ed171 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -687,7 +687,7 @@ public static function generateTemplate($fields) ['%%CLASSNAME%%', '%%ITEMTYPE%%', '%%CONTAINER%%', '%%ITEMTYPE_RIGHT%%'], [ $classname, - str_replace('\'', '', var_export($itemtype, true)), + var_export($itemtype, true), var_export($fields['id'], true), var_export($itemtype::$rightname, true), ],