change mapping_list return for exporters

This commit is contained in:
leogermani 2018-12-13 16:16:32 -02:00
parent 9b084279e2
commit 64558dd01c
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ class Exporter extends CommunImportExport {
if($method == 'any') {
$Tainacan_Exposers = \Tainacan\Mappers_Handler::get_instance();
$metadatum_mappers = $Tainacan_Exposers->get_mappers();
$this->mapping_list = $metadatum_mappers;
$this->mapping_list = array_keys($metadatum_mappers);
} else if(!empty($list)) {
$this->mapping_list = $list;
}