We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9691d9 commit cbbb67aCopy full SHA for cbbb67a
inc/type.class.php
@@ -846,7 +846,7 @@ private static function updateNameAndItemtype(
846
/** @var DBmysql $DB */
847
global $DB;
848
849
- if ($old_itemtype != $new_itemtype) {
+ if ($old_itemtype != $new_itemtype && !str_starts_with($old_itemtype, 'Glpi\\CustomAsset\\')) {
850
$migration->renameItemtype($old_itemtype, $new_itemtype);
851
$migration->executeMigration(); // Execute migration to flush updates on tables that may be renamed
852
}
0 commit comments