From d86ad302e387c1666e1aae51d243395883466bd5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 30 Jun 2021 21:20:59 -0400 Subject: [PATCH] [securemail] Fix quoting style in securemail_settings_post() --- securemail/securemail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securemail/securemail.php b/securemail/securemail.php index 112979a4..0c0b282b 100644 --- a/securemail/securemail.php +++ b/securemail/securemail.php @@ -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())); -- 2.39.5