MDL-75897 output: safer checking of course reuse action nodes.
commitd53b5879ca47726dedd2f5acb0daa58f0b9fbb66
authorPaul Holden <paulh@moodle.com>
Wed, 5 Oct 2022 09:57:01 +0000 (5 10:57 +0100)
committerPaul Holden <paulh@moodle.com>
Thu, 20 Oct 2022 10:08:22 +0000 (20 11:08 +0100)
treeee3b17b1a17ddee5b94c4cecf728c482654f582b
parentf8d28e4ca6e4c32d68b3f31266cf18b1e87fa206
MDL-75897 output: safer checking of course reuse action nodes.

Also ensure that if course reuse contains only a single node (e.g.
reset), then it is still accessible from secondary navigation.

Co-authored-by: Meirza Arson <meirza.arson@moodle.com>
lib/classes/navigation/views/secondary.php