Skip to content

Commit

Permalink
0029225: Trying to open personal workspace leads to an error
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer-ilias committed Nov 23, 2020
1 parent 6c3f97a commit c43cab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function getIconPathForReference(int $ref_id) : string
$obj_id = ilObject::_lookupObjId($ref_id);
$type = ilObject::_lookupType($obj_id);

if (!$this->supportsCustomIcon($type)) {
if (strlen($type) || !$this->supportsCustomIcon($type)) {
return '';
}
$assigned_template = $this->findAssignedTemplate($ref_id);
Expand Down
1 change: 1 addition & 0 deletions Services/Object/classes/class.ilObject2GUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a
//$this->settings = $DIC->settings();
//$this->rbacreview = $DIC->rbac()->review();
$this->toolbar = $DIC->toolbar();
$this->request = $DIC->http()->request();


$params = array();
Expand Down

0 comments on commit c43cab4

Please sign in to comment.