From af8d0f6c8d5fe9874831b406a9fa87ca3de96aca Mon Sep 17 00:00:00 2001 From: Theodor Truffer Date: Tue, 14 Apr 2020 14:58:58 +0200 Subject: [PATCH] 0028103: Failed test: Tabellen-Import .xlsx - "Neue Tabelle anlegen" - Whoops --- .../DataCollection/classes/Table/class.ilDclTableEditGUI.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/DataCollection/classes/Table/class.ilDclTableEditGUI.php b/Modules/DataCollection/classes/Table/class.ilDclTableEditGUI.php index 13eda20c4d01..14a95db7d543 100644 --- a/Modules/DataCollection/classes/Table/class.ilDclTableEditGUI.php +++ b/Modules/DataCollection/classes/Table/class.ilDclTableEditGUI.php @@ -70,7 +70,9 @@ public function __construct(ilDclTableListGUI $a_parent_obj) $this->table = ilDclCache::getTableCache($this->table_id); $this->ctrl->saveParameter($this, 'table_id'); - $locator->addItem($this->table->getTitle(), $this->ctrl->getLinkTarget($this, 'edit')); + if ($this->table->getTitle()) { + $locator->addItem($this->table->getTitle(), $this->ctrl->getLinkTarget($this, 'edit')); + } $this->tpl->setLocator(); if (!$this->checkAccess()) {