Merge pull request #6132 from annando/notice

Just some notice again
This commit is contained in:
Hypolite Petovan 2018-11-14 09:46:57 -05:00 committed by GitHub
commit 4894e89f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ class Contact extends BaseModule
$priority = 0;
}
$info = Strings::escapeHtml(trim($_POST['info']));
$info = Strings::escapeHtml(trim(defaults($_POST, 'info', '')));
$r = DBA::update('contact', [
'profile-id' => $profile_id,