mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-73735_duplicate-line-course-rest-php' of https://github.com/ziegenberg/moodle
This commit is contained in:
commit
6e1197d0bf
@ -78,7 +78,6 @@ if ($class === 'section' && $field === 'move') {
|
||||
|
||||
if ($beforeid > 0) {
|
||||
$beforemod = get_coursemodule_from_id('', $beforeid, $course->id);
|
||||
$beforemod = $DB->get_record('course_modules', array('id' => $beforeid));
|
||||
} else {
|
||||
$beforemod = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user