Skip to content

Commit

Permalink
More buttonrama fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Oct 21, 2020
1 parent 3c88ca1 commit 73c98e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Import/Form/DataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function buildQuickForm() {

$this->assign('uploadSize', $uploadSize);

$this->add('File', 'uploadFile', ts('Import Data File'), 'size=30 maxlength=255', TRUE);
$this->add('File', 'uploadFile', ts('Import Data File'), [], TRUE);
$this->setMaxFileSize($uploadFileSize);
$this->addRule('uploadFile', ts('File size should be less than %1 MBytes (%2 bytes)', [
1 => $uploadSize,
Expand Down

0 comments on commit 73c98e0

Please sign in to comment.