]> git.mxchange.org Git - friendica-addons.git/commitdiff
[securemail] Fix quoting style in securemail_settings_post()
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 1 Jul 2021 01:20:59 +0000 (21:20 -0400)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 01:20:59 +0000 (21:20 -0400)
securemail/securemail.php

index 112979a47d729d4845887c1c7d7fa389cd5e72b0..0c0b282b2cd9614bc5744cfb8ded83e830aea53e 100644 (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()));