X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FMember%2FImport%2FForm%2FPreview.php;h=3114d0271f471b58f54ccf1dafddd8bc076bbf2c;hb=8cebffb2608fb2f197bae07a6093fa8576b7dd14;hp=a595b0a28dedf4512d76c6fcba0b23e08f8121a8;hpb=cb4100bc439690c0cd4840286377d1de7cbaf345;p=civicrm-core.git diff --git a/CRM/Member/Import/Form/Preview.php b/CRM/Member/Import/Form/Preview.php index a595b0a28d..3114d0271f 100644 --- a/CRM/Member/Import/Form/Preview.php +++ b/CRM/Member/Import/Form/Preview.php @@ -99,6 +99,7 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview { 'downloadConflictRecordsUrl', 'downloadMismatchRecordsUrl', ); + $this->setStatusUrl(); foreach ($properties as $property) { $this->assign($property, $this->get($property)); @@ -161,14 +162,15 @@ class CRM_Member_Import_Form_Preview extends CRM_Import_Form_Preview { $skipColumnHeader, CRM_Import_Parser::MODE_IMPORT, $this->get('contactType'), - $onDuplicate + $onDuplicate, + $this->get('statusID'), + $this->get('totalRowCount') ); // add all the necessary variables to the form $parser->set($this, CRM_Import_Parser::MODE_IMPORT); // check if there is any error occurred - $errorStack = CRM_Core_Error::singleton(); $errors = $errorStack->getErrors(); $errorMessage = array();