Skip to content

Commit 6f609bc

Browse files
ferranreciosarjona
andauthored
Update docs/apis/plugintypes/mod/courseoverview.md
Co-authored-by: Sara Arjona <[email protected]>
1 parent 3aad727 commit 6f609bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/apis/plugintypes/mod/courseoverview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ require_once("../../config.php");
244244

245245
$courseid = required_param('id', PARAM_INT);
246246

247-
\core_courseformat\activityoverviewbase::redirect_to_overview_page($id, 'YOURPLUGINNAME');
247+
\core_courseformat\activityoverviewbase::redirect_to_overview_page($courseid, 'YOURPLUGINNAME');
248248
```
249249

250250
Once done, the plugin can remove or deprecated and method, output or renderer related to the previous index page.

0 commit comments

Comments
 (0)