Skip to content

Commit e6ec123

Browse files
committed
[FIX] Admin: RevoceryFolder: Restoring (#11284)
https://mantis.ilias.de/view.php?id=47446
1 parent 8020038 commit e6ec123

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

components/ILIAS/Administration/classes/class.ilAdministrationGUI.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ public function executeCommand(): void
181181
$obj_type = ilObject::_lookupType($this->cur_ref_id, true);
182182
$class_name = $this->obj_definition->getClassName($obj_type);
183183
$next_class = strtolower("ilObj" . $class_name . "GUI");
184+
185+
// #47446: redirect to remove the "return" command which is not implemented by all GUIs
186+
$this->ctrl->redirectByClass($next_class);
184187
}
185188

186189
// forward all other classes to gui commands

0 commit comments

Comments
 (0)