Revize 3729dcae
Přidáno uživatelem Alex Konig před více než 3 roky(ů)
Server/ServerApp/Parser/Parsers/LogInParser.cs | ||
---|---|---|
87 | 87 |
List<ActivityInfo> loginInfo = new List<ActivityInfo>(); |
88 | 88 |
|
89 | 89 |
List<LogInInstance> list = loader.LoadLoginFile(path); |
90 |
if (list == null) |
|
90 |
if (list == null || list.Count == 0)
|
|
91 | 91 |
return loginInfo; |
92 | 92 |
|
93 | 93 |
// data for each faculty |
... | ... | |
173 | 173 |
List<ActivityInfo> loginInfo = new List<ActivityInfo>(); |
174 | 174 |
|
175 | 175 |
List<LogInInstance> list = loader.LoadLoginFile(path); |
176 |
if (list == null) |
|
176 |
if (list == null || list.Count == 0)
|
|
177 | 177 |
return loginInfo; |
178 | 178 |
|
179 | 179 |
// min/max hour taken into account |
Také k dispozici: Unified diff
re #9037 Empty input testing