Skip to content

Commit

Permalink
Merge pull request #6 from igormukhingmailcom-forks/fixes
Browse files Browse the repository at this point in the history
Fixe issue #5
  • Loading branch information
oallain authored Jun 23, 2020
2 parents 5f6b367 + a514b5b commit f305d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controller/MailTesterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(
public function mailTester(Request $request, SenderInterface $sender): Response
{
/** @var array $mailTester */
$mailTester = $request->get('mail_tester');
$mailTester = $request->get('mail_tester', ['subjects' => null]);

$form = $this->createForm(MailTesterType::class);
if ($mailTester['subjects'] !== null && $mailTester['subjects'] !== ChoiceSubjectsType::EVERY_SUBJECTS) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Application/.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ APP_SECRET=EDITME
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls
DATABASE_URL=mysql://root@127.0.0.1/acme_sylius_example_plugin_%kernel.environment%?serverVersion=5.5
DATABASE_URL=mysql://root@127.0.0.1/synolia_sylius_mail_tester_plugin_%kernel.environment%?serverVersion=5.5
###< doctrine/doctrine-bundle ###

###> symfony/swiftmailer-bundle ###
Expand Down

0 comments on commit f305d9d

Please sign in to comment.