diff --git a/inc/type.class.php b/inc/type.class.php index 0c4f67d..c5f38a9 100644 --- a/inc/type.class.php +++ b/inc/type.class.php @@ -846,7 +846,7 @@ private static function updateNameAndItemtype( /** @var DBmysql $DB */ global $DB; - if ($old_itemtype != $new_itemtype) { + if ($old_itemtype != $new_itemtype && !str_starts_with($old_itemtype, 'Glpi\\CustomAsset\\')) { $migration->renameItemtype($old_itemtype, $new_itemtype); $migration->executeMigration(); // Execute migration to flush updates on tables that may be renamed }