-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.8, 4.2
-
MOODLE_400_STABLE, MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
- Log in as admin
- Navigate to Home
- Add Main menu block to drawer
- Add activity to main menu
- Confirm you can move it left and right
In the "Main menu" block, the action to move left is throwing an exception.
Steps to reproduce:
- Log in as administrator
- Go to the "Home" page
- Add "Main menu" block
- Add a new activity and return
- Click on "Move right" in the action menu for the activity
- Click on "Move left" in the action menu for the activity
- Exception will appear
Extra notes:
This is likely happening because course/mod.php is expecting indent="-1" parameter to move left, and the action link is adding indent="0" parameter instead.