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.
This commit is contained in:
St John Karp 2017-09-24 02:45:12 -07:00
parent 38770af052
commit 78f40314ea

View File

@ -60,7 +60,7 @@ function securemail_settings(App &$a, &$s){
$t = get_markup_template('admin.tpl', 'addon/securemail/'); $t = get_markup_template('admin.tpl', 'addon/securemail/');
$s = replace_macros($t, array( $s .= replace_macros($t, array(
'$title' => t('"Secure Mail" Settings'), '$title' => t('"Secure Mail" Settings'),
'$submit' => t('Save Settings'), '$submit' => t('Save Settings'),
'$test' => t('Save and send test'), //NOTE: update also in 'post' '$test' => t('Save and send test'), //NOTE: update also in 'post'