MDL-82845 course: fix subsection navigation nodes

This commit is contained in:
ferranrecio
2024-09-19 11:26:28 +02:00
parent bfe9e6328a
commit 37ce4e8ece
4 changed files with 293 additions and 101 deletions
+1 -1
View File
@@ -860,7 +860,7 @@ abstract class base {
* of the view script, it is not enough to change just this function. Do not forget
* to add proper redirection.
*
* @param int|stdClass $section Section object from database or just field course_sections.section
* @param int|stdClass|section_info $section Section object from database or just field course_sections.section
* if null the course view page is returned
* @param array $options options for view URL. At the moment core uses:
* 'navigation' (bool) if true and section not empty, the function returns section page; otherwise, it returns course page.