change super to parent

This commit is contained in:
Jacson Passold 2018-07-27 11:32:06 -03:00
parent 06d5e27c0e
commit cc4271181b
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class CSV extends Importer {
* @return Tainacan\Entities\Item Item inserted
*/
public function insert( $processed_item, $collection_index ) {
$inserted_item = super::insert( $processed_item, $collection_index );
$inserted_item = parent::insert( $processed_item, $collection_index );
$column_document = $this->get_option('document_index');
$column_attachment = $this->get_option('attachment_index');