Merge pull request #1284 from tobiasd/20221015-issue11998

[impressum] notes and email field were exchanged
This commit is contained in:
Hypolite Petovan 2022-10-15 12:24:37 -04:00 committed by GitHub
commit 8d2ddd8985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'] ?? '')));
}