1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-31 04:07:55 +01:00

Fixes #5417 - Contact info fields.

This commit is contained in:
camer0n 2025-01-29 12:34:15 -08:00
parent 09a5a70b67
commit ec61237c03

View File

@ -110,6 +110,10 @@ if(isset($_POST['updateprefs']))
$pref['post_html'] = intval($_POST['post_html']); // This ensures the setting is reflected in set text
if(isset($_POST['contact_info']) && is_array($_POST['contact_info']))
{
$core_pref->set('contact_info', []); // reset to type array if string had been used in the past.
}
$smtp_opts = array();