MDL-33624 lang - remove incosistent use of placeholder

This commit is contained in:
Dan Poltawski
2012-07-16 09:45:11 +08:00
parent f2867a8672
commit 28fc596d03
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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']);