From 268862dd7ca10e6dc31a30a2bf2df6f44acfbbe7 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 14 Nov 2018 10:54:42 +0000 Subject: [PATCH] Just some notice again --- src/Module/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Contact.php b/src/Module/Contact.php index b7e182dc14..810d5550ca 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -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, -- 2.39.5