mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-44894' of git://github.com/timhunt/moodle
This commit is contained in:
commit
d2e5f21625
@ -146,6 +146,9 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
// Editing question with no permission to move from category.
|
||||
$mform->addElement('questioncategory', 'category', get_string('category', 'question'),
|
||||
array('contexts' => array($this->categorycontext)));
|
||||
$mform->addElement('hidden', 'usecurrentcat', 1);
|
||||
$mform->setType('usecurrentcat', PARAM_BOOL);
|
||||
$mform->setConstant('usecurrentcat', 1);
|
||||
} else {
|
||||
// Editing question with permission to move from category or save as new q.
|
||||
$currentgrp = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user