From f79f623c78b46fc9d6120540ac9407cc7b801de9 Mon Sep 17 00:00:00 2001 From: stonebuzz Date: Tue, 26 Nov 2024 16:04:02 +0100 Subject: [PATCH] can't attach because of 'itemtype' fk field --- inc/abstractcontainerinstance.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/abstractcontainerinstance.class.php b/inc/abstractcontainerinstance.class.php index d590bb53..87ebcbd5 100644 --- a/inc/abstractcontainerinstance.class.php +++ b/inc/abstractcontainerinstance.class.php @@ -33,6 +33,8 @@ abstract class PluginFieldsAbstractContainerInstance extends CommonDBChild public static $itemtype = 'itemtype'; public static $items_id = 'items_id'; + public static $mustBeAttached = false; + /** * This function relies on the static property `static::$plugins_forward_entity`, * which should be populated using the following method (from setup):