diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2022-11-09 10:08:12 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-09 10:08:12 +0000 |
| commit | 35deb3da569c263854529853242689e4cd61e015 (patch) | |
| tree | 57bd4d474d0802912915a9e7291a9d2d1ee83a4d /app/controllers/admin/datafields.php | |
| parent | 7cf4260c0ecc4fc39e4871ae03e426f7b1c2512b (diff) | |
Prevent PHP-Warnings, closes #1764
Closes #1764
Merge request studip/studip!1140
Diffstat (limited to 'app/controllers/admin/datafields.php')
| -rw-r--r-- | app/controllers/admin/datafields.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/datafields.php b/app/controllers/admin/datafields.php index d301791..bf390c9 100644 --- a/app/controllers/admin/datafields.php +++ b/app/controllers/admin/datafields.php @@ -181,7 +181,7 @@ class Admin_DatafieldsController extends AuthenticatedController $type = $type ?: Request::get('datafield_typ'); - $this->type_name = $this->allclasses[$type]; + $this->type_name = $this->allclasses[$type] ?? ''; $this->object_typ = $type; $this->institutes = Institute::getMyInstitutes(); if (!$this->object_typ) { |
