Skip to content

Commit

Permalink
Sb-13695 Changes in operation name
Browse files Browse the repository at this point in the history
  • Loading branch information
niharikasingh84 committed Jul 17, 2019
1 parent 8ca8ae5 commit f21a546
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private void validateCourseBatch(
if (StringUtils.isNotBlank(courseBatchDetails.getEnrollmentEndDate())) {
courseBatchEnrollmentEndDate = format.parse(courseBatchDetails.getEnrollmentEndDate());
}
if (actorOperation.equals(ActorOperations.ENROLL_COURSE.getValue())
if (ActorOperations.ENROLL_COURSE.getValue().equals(actorOperation)
&& courseBatchEnrollmentEndDate != null
&& courseBatchEnrollmentEndDate.before(todaydate)) {
ProjectLogger.log(
Expand Down

0 comments on commit f21a546

Please sign in to comment.