Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8555f
)
MDL-44590 category: correct get_string component
author
Dan Poltawski
<dan@moodle.com>
Thu, 13 Mar 2014 01:04:27 +0000
(09:04 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 24 Mar 2014 08:43:42 +0000
(16:43 +0800)
course/classes/editcategory_form.php
patch
|
blob
|
blame
|
history
diff --git
a/course/classes/editcategory_form.php
b/course/classes/editcategory_form.php
index
a28ea9b
..
c866f6c
100644
(file)
--- a/
course/classes/editcategory_form.php
+++ b/
course/classes/editcategory_form.php
@@
-125,10
+125,10
@@
class core_course_editcategory_form extends moodleform {
if (!empty($data['idnumber'])) {
if ($existing = $DB->get_record('course_categories', array('idnumber' => $data['idnumber']))) {
if (!$data['id'] || $existing->id != $data['id']) {
- $errors['idnumber']
= get_string('categoryidnumbertaken
');
+ $errors['idnumber']
= get_string('categoryidnumbertaken', 'error
');
}
}
}
return $errors;
}
-}
\ No newline at end of file
+}