From: Tobias Diekershoff Date: Sat, 15 Oct 2022 15:49:28 +0000 (+0200) Subject: [impressum] notes and email field were exchanged X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5648924852d6108e3cf2c795483ad710dceb0fa6;p=friendica-addons.git [impressum] notes and email field were exchanged --- diff --git a/impressum/impressum.php b/impressum/impressum.php index ae5e2637..69beba59 100644 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -98,8 +98,8 @@ function impressum_addon_admin_post (App $a) DI::config()->set('impressum', 'owner', strip_tags(trim($_POST['owner'] ?? ''))); DI::config()->set('impressum', 'ownerprofile', strip_tags(trim($_POST['ownerprofile'] ?? ''))); DI::config()->set('impressum', 'postal', strip_tags(trim($_POST['postal'] ?? ''))); - DI::config()->set('impressum', 'email', strip_tags(trim($_POST['notes'] ?? ''))); - DI::config()->set('impressum', 'notes', strip_tags(trim($_POST['email'] ?? ''))); + DI::config()->set('impressum', 'email', strip_tags(trim($_POST['email'] ?? ''))); + DI::config()->set('impressum', 'notes', strip_tags(trim($_POST['notes'] ?? ''))); DI::config()->set('impressum', 'footer_text', strip_tags(trim($_POST['footer_text'] ?? ''))); }