diff --git a/Modules/Test/classes/class.ilTestRandomQuestionSetConfigGUI.php b/Modules/Test/classes/class.ilTestRandomQuestionSetConfigGUI.php index 31baa244017f..0fa360dbf7af 100644 --- a/Modules/Test/classes/class.ilTestRandomQuestionSetConfigGUI.php +++ b/Modules/Test/classes/class.ilTestRandomQuestionSetConfigGUI.php @@ -153,8 +153,7 @@ public function __construct( $this->tree = $tree; $this->pluginAdmin = $pluginAdmin; $this->testOBJ = $testOBJ; - - global $DIC; + $this->dic = $DIC; $this->objDefinition = $this->dic['objDefinition'];