From: St John Karp Date: Sun, 24 Sep 2017 09:45:12 +0000 (-0700) Subject: Fix rendering of securemail user settings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78f40314ea6c7f26f3649962b9375ea36072b464;p=friendica-addons.git 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. --- 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'