Fix unconditional insert of users failed with invalid action

This commit is contained in:
nathangray 2019-03-18 15:47:32 -06:00
parent 4634cc184e
commit fa48e1db3c

View File

@ -179,7 +179,7 @@ class admin_import_users_csv implements importexport_iface_import_plugin {
} }
} else { } else {
// unconditional insert // unconditional insert
$success = $this->action( 'insert', $record, $import_csv->get_current_position() ); $success = $this->action( 'create', $record, $import_csv->get_current_position() );
} }
if($success) $count++; if($success) $count++;
} }