diff --git a/backend/views/termin/index.php b/backend/views/termin/index.php
index c65c4ef..2a154a0 100644
--- a/backend/views/termin/index.php
+++ b/backend/views/termin/index.php
@@ -9,6 +9,7 @@ use yii\grid\GridView;
$this->title = Yii::t('app', 'termin');
$this->params['breadcrumbs'][] = $this->title;
+
?>
@@ -31,8 +32,9 @@ $this->params['breadcrumbs'][] = $this->title;
[
'attribute' => 'termin_parent_title',
'value' => 'terminStructures.parent.terminLangs.termin_title',
- 'content' => function($model, $key, $index, $column) {
- return $model->terminStructures[0]->parent->terminLangs[0]->termin_title;
+ 'content' => function($model, $key, $index, $column)
+ {
+ return isset ($model->terminStructures[0]->parent->terminLangs[0]->termin_title) ? $model->terminStructures[0]->parent->terminLangs[0]->termin_title : '';
}
],
'termin_name',
--
libgit2 0.21.4