quiz editing: MDL-17293 removed two lines of code that did nothing good but some bad, showing an extra form where it should have not been.
This commit is contained in:
@@ -302,8 +302,6 @@ class question_category_object {
|
||||
$category->categoryheader = $this->str->edit;
|
||||
$this->catform->set_data($category);
|
||||
$this->catform->display();
|
||||
$this->catform_rand->set_data($category);
|
||||
$this->catform_rand->display();
|
||||
} else {
|
||||
print_error('invalidcategory', '', '', $categoryid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user