SEBSERV-76 fixed
This commit is contained in:
		
							parent
							
								
									47a0f37d9d
								
							
						
					
					
						commit
						0b1ed4c46c
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -175,6 +175,10 @@ public class ExamList implements TemplateComposer {
 | 
				
			||||||
    private PageAction modifyExam(final PageAction action, final EntityTable<Exam> table) {
 | 
					    private PageAction modifyExam(final PageAction action, final EntityTable<Exam> table) {
 | 
				
			||||||
        final Exam exam = table.getSelectedROWData();
 | 
					        final Exam exam = table.getSelectedROWData();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (exam == null) {
 | 
				
			||||||
 | 
					            throw new PageMessageException(EMPTY_SELECTION_TEXT_KEY);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (exam.startTime != null) {
 | 
					        if (exam.startTime != null) {
 | 
				
			||||||
            final DateTime now = DateTime.now(DateTimeZone.UTC);
 | 
					            final DateTime now = DateTime.now(DateTimeZone.UTC);
 | 
				
			||||||
            if (exam.startTime.isBefore(now)) {
 | 
					            if (exam.startTime.isBefore(now)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue