Simplified array structure as it changed when using the settings class
This commit is contained in:
parent
24bdccdb0b
commit
a7dce663a1
|
|
@ -289,11 +289,9 @@
|
||||||
$email_settings = '';
|
$email_settings = '';
|
||||||
$email_setting_array = $setting->get('email');
|
$email_setting_array = $setting->get('email');
|
||||||
ksort($email_setting_array);
|
ksort($email_setting_array);
|
||||||
foreach ($email_setting_array as $name => $setting) {
|
foreach ($email_setting_array as $name => $value) {
|
||||||
foreach ($setting as $type => $value) {
|
if ($name == 'smtp_password') { $value = '[REDACTED]'; }
|
||||||
if ($name == 'smtp_password') { $value = '[REDACTED]'; }
|
$email_settings .= $name.': '.$value."\n";
|
||||||
$email_settings .= $name.': '.$value."\n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//parse email and name
|
//parse email and name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue