mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-33624 lang - remove incosistent use of placeholder
This commit is contained in:
parent
2cbdaa77ea
commit
19a8646822
8 changed files with 8 additions and 9 deletions
|
@ -41,7 +41,7 @@ if (! $cm = get_coursemodule_from_instance('data', $data->id, $data->course)) {
|
|||
}
|
||||
|
||||
if(! $course = $DB->get_record('course', array('id'=>$cm->course))) {
|
||||
print_error('invalidcourseid', '', '', $cm->course);
|
||||
print_error('invalidcourseid');
|
||||
}
|
||||
|
||||
// fill in missing properties needed for updating of instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue