From 78f40314ea6c7f26f3649962b9375ea36072b464 Mon Sep 17 00:00:00 2001 From: St John Karp Date: Sun, 24 Sep 2017 02:45:12 -0700 Subject: [PATCH] Fix rendering of securemail user settings The securemail addon was overwriting all of the user settings form rendered before it. I've added a concatenation operator to ensure we're not losing any content on this page. --- securemail/securemail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securemail/securemail.php b/securemail/securemail.php index 79f5e2da..b20eab9c 100644 --- a/securemail/securemail.php +++ b/securemail/securemail.php @@ -60,7 +60,7 @@ function securemail_settings(App &$a, &$s){ $t = get_markup_template('admin.tpl', 'addon/securemail/'); - $s = replace_macros($t, array( + $s .= replace_macros($t, array( '$title' => t('"Secure Mail" Settings'), '$submit' => t('Save Settings'), '$test' => t('Save and send test'), //NOTE: update also in 'post'