Skip to content

Commit b8b844d

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

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
@@ -179,6 +179,9 @@ public function executeCommand(): void
179179
$obj_type = ilObject::_lookupType($this->cur_ref_id, true);
180180
$class_name = $this->objDefinition->getClassName($obj_type);
181181
$next_class = strtolower("ilObj" . $class_name . "GUI");
182+
183+
// #47446: redirect to remove the "return" command which is not implemented by all GUIs
184+
$this->ctrl->redirectByClass($next_class);
182185
}
183186

184187
$cmd = $this->ctrl->getCmd("forward");

0 commit comments

Comments
 (0)