From 7e33043f5145421eb033dd6f95b0914bb2f7dd5d Mon Sep 17 00:00:00 2001 From: Stefan Osterloh <s.osterloh@uni-oldenburg.de> Date: Thu, 10 Aug 2023 12:33:20 +0000 Subject: [PATCH] change for i18n support, fixes: #3017 Closes #3017 Merge request studip/studip!2026 --- app/controllers/shared/contacts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/shared/contacts.php b/app/controllers/shared/contacts.php index 6d9e58a9131..a3da1a78778 100644 --- a/app/controllers/shared/contacts.php +++ b/app/controllers/shared/contacts.php @@ -553,9 +553,9 @@ class Shared_ContactsController extends MVVController $contact_range->category = Request::option('contact_category'); if ($contact_range->contact->contact_status === 'extern') { $extern_contact = MvvExternContact::find($contact_range->contact_id); - $extern_contact->name = Request::get('contact_name'); + $extern_contact->name = Request::i18n('contact_name'); $extern_contact->vorname = Request::get('contact_vorname'); - $extern_contact->homepage = Request::get('contact_homepage', ''); + $extern_contact->homepage = Request::i18n('contact_homepage', ''); $extern_contact->mail = Request::get('contact_mail', ''); $extern_contact->tel = Request::get('contact_tel', ''); if (!strlen($extern_contact->name)) { -- GitLab