Permalink
Browse files

MDL-10410 - for consistency using UNCATEGORISED constant rather than …

…hardcoded string
  • Loading branch information...
arborrow
arborrow committed Sep 12, 2007
1 parent 16ce392 commit 0a78a5c67d019e4db6ea9f8e995316cc9abc1073
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/lib.php
View
@@ -2684,7 +2684,7 @@ function grade_category_select($id_selected = 0) {
else {
foreach($categories as $category) {
if ($category->name == UNCATEGORISED) {
- $category->name = get_string('uncategorised', 'grades');
+ $category->name = get_string(UNCATEGORISED, 'grades');
}
if ($category->id == $id_selected) {
echo '<option value="'.$category->id.'" selected="selected">'. format_string($category->name) .'</option>';

0 comments on commit 0a78a5c

Please sign in to comment.