From 5648924852d6108e3cf2c795483ad710dceb0fa6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 15 Oct 2022 17:49:28 +0200 Subject: [PATCH] [impressum] notes and email field were exchanged --- impressum/impressum.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] ?? ''))); }