added missing )

This is a followup to PR  #1142 adding a missing ) to the if statement.
pull/1143/head
Tobias Diekershoff 2021-07-01 07:47:48 +02:00
parent bcda4f3c15
commit fb4687b6df
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); $enable = (!empty($_POST['securemail-enable']) ? 1 : 0);
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable); 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())); $res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl()));