$this->currentId[$id_field_name] = $this->currentItem[$id_field_name];
This doesn't check whether the $id_field_name is set in the current item.
Active
6.0
Plugins