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
|
@ -110,7 +110,7 @@ class core_notes_external extends external_api {
|
|||
//check the course exists
|
||||
if (empty($courses[$note['courseid']])) {
|
||||
$success = false;
|
||||
$errormessage = get_string('invalidcourseid', 'notes', $note['courseid']);
|
||||
$errormessage = get_string('invalidcourseid', 'error');
|
||||
} else {
|
||||
// Ensure the current user is allowed to run this function
|
||||
$context = get_context_instance(CONTEXT_COURSE, $note['courseid']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue