Skip to content
Snippets Groups Projects
Commit 7e33043f authored by Stefan Osterloh's avatar Stefan Osterloh Committed by Elmar Ludwig
Browse files

change for i18n support, fixes: #3017

Closes #3017

Merge request studip/studip!2026
parent 9d5fe00e
No related branches found
No related tags found
No related merge requests found
...@@ -553,9 +553,9 @@ class Shared_ContactsController extends MVVController ...@@ -553,9 +553,9 @@ class Shared_ContactsController extends MVVController
$contact_range->category = Request::option('contact_category'); $contact_range->category = Request::option('contact_category');
if ($contact_range->contact->contact_status === 'extern') { if ($contact_range->contact->contact_status === 'extern') {
$extern_contact = MvvExternContact::find($contact_range->contact_id); $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->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->mail = Request::get('contact_mail', '');
$extern_contact->tel = Request::get('contact_tel', ''); $extern_contact->tel = Request::get('contact_tel', '');
if (!strlen($extern_contact->name)) { if (!strlen($extern_contact->name)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment