Fixed a small typo
Former-commit-id: 974136cd7d32fc3cf7ad4129cc4c9bd5ecc40b18pull/10/head
parent
0f1f0fadd4
commit
197eefeeae
|
|
@ -273,7 +273,6 @@ public class CategoriesController {
|
|||
final Identifier targetIdentifier = identifierParser.parseIdentifier(
|
||||
targetIdentifierParam
|
||||
);
|
||||
|
||||
final Optional<Category> targetResult;
|
||||
switch (targetIdentifier.getType()) {
|
||||
case ID:
|
||||
|
|
@ -287,7 +286,7 @@ public class CategoriesController {
|
|||
);
|
||||
break;
|
||||
}
|
||||
if (!categoryResult.isPresent()) {
|
||||
if (!targetResult.isPresent()) {
|
||||
categoryDetailsModel.addMessage(
|
||||
new Message(
|
||||
adminMessages.getMessage(
|
||||
|
|
|
|||
Loading…
Reference in New Issue