From 5eecc9a11a381575a30d3d4d1a0484b8021689d5 Mon Sep 17 00:00:00 2001 From: Peter Thienel <thienel@data-quest.de> Date: Mon, 23 Dec 2024 13:12:17 +0000 Subject: [PATCH] Resolve "Fehler beim Speichern eines Moduls in der Originalsprache" Closes #5070 Merge request studip/studip!3794 --- app/controllers/module/module.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php index 08597f1cacb..7b862d4f571 100644 --- a/app/controllers/module/module.php +++ b/app/controllers/module/module.php @@ -295,13 +295,6 @@ class Module_ModuleController extends MVVController $this->modul->fassung_typ = Request::option('fassung_typ'); $this->modul->version = trim(Request::get('version')); $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', -- GitLab