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:
parent
09a5a70b67
commit
ec61237c03
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user