diff --git a/Services/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionSelect.php b/Services/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionSelect.php index ff680284fe02..d3a3c93315e3 100644 --- a/Services/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionSelect.php +++ b/Services/AdvancedMetaData/classes/Types/class.ilAdvancedMDFieldDefinitionSelect.php @@ -603,7 +603,7 @@ public function update(): void if ($sub_type == "wpg") { // #15763 - adapt advmd page lists - ilPCAMDPageList::migrateField($obj_id, $this->getFieldId(), $old_option, $new_option, true); + ilPCAMDPageList::migrateField((int) $obj_id, $this->getFieldId(), $old_option, $new_option, true); } } }