Merge branch 'mdl-84979_main' of https://github.com/james-cnz/moodle
This commit is contained in:
@@ -967,11 +967,11 @@ abstract class base {
|
||||
}
|
||||
}
|
||||
|
||||
if ($targetsectionid) {
|
||||
$params['sectionid'] = $targetsectionid;
|
||||
if (isset($targetsectionid)) {
|
||||
$params['targetsectionid'] = $targetsectionid;
|
||||
}
|
||||
if ($targetcmid) {
|
||||
$params['cmid'] = $targetcmid;
|
||||
if (isset($targetcmid)) {
|
||||
$params['targetcmid'] = $targetcmid;
|
||||
}
|
||||
if ($returnurl) {
|
||||
$params['returnurl'] = $returnurl->out_as_local_url();
|
||||
|
||||
Reference in New Issue
Block a user