X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FImport%2FForms.php;h=cd81aa4585f96471974edacf10b71bd26c218b80;hb=c4a6ea3f4397aeec5ec3705ac3dbf73e3845772c;hp=e87bc5acb7478830c4b6d73cd0a1dc001563c9ad;hpb=99106f72c566265e5437f1654740f9adc7976956;p=civicrm-core.git diff --git a/CRM/Import/Forms.php b/CRM/Import/Forms.php index e87bc5acb7..cd81aa4585 100644 --- a/CRM/Import/Forms.php +++ b/CRM/Import/Forms.php @@ -376,7 +376,7 @@ class CRM_Import_Forms extends CRM_Core_Form { $id = UserJob::create(FALSE) ->setValues([ 'created_id' => CRM_Core_Session::getLoggedInContactID(), - 'type_id:name' => 'contact_import', + 'type_id:name' => $this->getUserJobType(), 'status_id:name' => 'draft', // This suggests the data could be cleaned up after this. 'expires_date' => '+ 1 week',