Skip to content

Commit

Permalink
SAK-26138 Grade item can not be set to 'unassigned' in most locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Gao-Jun committed Jan 29, 2015
1 parent 30fdd57 commit 651b6ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected void init() {
}

// initialization; shouldn't enter here after category drop down changes
if(selectedCategory == null && !getLocalizedString("cat_unassigned").equalsIgnoreCase(assignmentCategory)) {
if(selectedCategory == null && !UNASSIGNED_CATEGORY.equals(assignmentCategory)) {
Category assignCategory = assignment.getCategory();
if (assignCategory != null) {
assignmentCategory = assignCategory.getId().toString();
Expand Down

0 comments on commit 651b6ad

Please sign in to comment.