diff options
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) { |
