Skip to content

Commit

Permalink
happy scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Jun 10, 2020
1 parent e0b6ce0 commit 9f2b6b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Models/Emailing.php
Expand Up @@ -99,9 +99,9 @@ public function getCMSFields()
$fields->addFieldToTab('Root.Preview', $this->previewTab());
}

$fields->addFieldsToTab('Root.Settings', new TextField('Sender'));
$fields->addFieldsToTab('Root.Settings', new ReadonlyField('LastSent'));
$fields->addFieldsToTab('Root.Settings', $RecipientsList = new TextareaField('RecipientsList'));
$fields->addFieldToTab('Root.Settings', new TextField('Sender'));
$fields->addFieldToTab('Root.Settings', new ReadonlyField('LastSent'));
$fields->addFieldToTab('Root.Settings', $RecipientsList = new TextareaField('RecipientsList'));
$RecipientsList->setDescription(_t('Emailing.RECIPIENTSLISTHELP', 'A list of IDs or emails on each line or separated by commas. Select "Selected members" to use this list'));

if ($this->ID) {
Expand All @@ -113,7 +113,7 @@ public function getCMSFields()
$invalidRecipientsContent .= "<p>" . $ir->Email . "</p>";
$invalidRecipientsContent .= "<hr/>";
}
$fields->addFieldsToTab('Root.InvalidRecipients', new LiteralField("InvalidRecipients", $invalidRecipientsContent));
$fields->addFieldToTab('Root.InvalidRecipients', new LiteralField("InvalidRecipients", $invalidRecipientsContent));
}
}

Expand Down

0 comments on commit 9f2b6b8

Please sign in to comment.