mirror of
https://github.com/moodle/moodle.git
synced 2025-05-07 16:56:15 +02:00
MDL-13953 The dropdown was not populated using the same methods as elsewhere in Moodle.
This commit is contained in:
parent
28f640403e
commit
e8b709f14b
@ -243,7 +243,8 @@ function selectItemInCheckboxByName(formId, checkName, checked ) {
|
||||
echo '<label for="menurestore_restorecatto">'.get_string ('category').'</label>';
|
||||
echo "</td>";
|
||||
echo "<td>";
|
||||
choose_from_menu(get_creatable_categories(), "restore_restorecatto", $course_header->category->id, "");
|
||||
make_categories_list($categories, $parents);
|
||||
choose_from_menu($categories, "restore_restorecatto", $course_header->category->id, "");
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
|
||||
@ -756,4 +757,4 @@ function restore_is_samerole($testroleid, $rolefromxml) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user