Skip to content
Snippets Groups Projects
Commit 5eecc9a1 authored by Peter Thienel's avatar Peter Thienel
Browse files

Resolve "Fehler beim Speichern eines Moduls in der Originalsprache"

Closes #5070

Merge request studip/studip!3794
parent 5f8c492f
No related branches found
No related tags found
No related merge requests found
...@@ -295,13 +295,6 @@ class Module_ModuleController extends MVVController ...@@ -295,13 +295,6 @@ class Module_ModuleController extends MVVController
$this->modul->fassung_typ = Request::option('fassung_typ'); $this->modul->fassung_typ = Request::option('fassung_typ');
$this->modul->version = trim(Request::get('version')); $this->modul->version = trim(Request::get('version'));
$this->modul->verantwortlich = trim(Request::get('verantwortlich')); $this->modul->verantwortlich = trim(Request::get('verantwortlich'));
// change original language
if (
!$this->modul->isNew()
&& $this->modul->original_language !== Request::option('original_language')
) {
$this->setOriginalLanguage($this->modul, Request::option('original_language'));
}
} }
$deskriptor_fields = ['bezeichnung', 'verantwortlich', $deskriptor_fields = ['bezeichnung', 'verantwortlich',
......
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