[securemail] Fix quoting style in securemail_settings_post()

pull/1142/head
Hypolite Petovan 2021-06-30 21:20:59 -04:00 committed by GitHub
parent 629c1cca9f
commit d86ad302e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function securemail_settings_post(App &$a, array &$b)
$enable = (!empty($_POST['securemail-enable']) ? 1 : 0);
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable);
if ($_POST['securemail-submit'] == "test" {
if ($_POST['securemail-submit'] == 'test' {
$res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl()));