Fixed uptime button bug.
This commit is contained in:
parent
54a4cea231
commit
7a916178c4
1 changed files with 6 additions and 3 deletions
|
@ -319,10 +319,13 @@ public class UptimeJournal
|
|||
if (iterator.hasNext())
|
||||
{
|
||||
Service current = iterator.next();
|
||||
if (getUptimes(current.getWebsiteURL()).last().getStatus() == UptimeStatus.ERROR)
|
||||
if (current.getWebsiteURL() != null)
|
||||
{
|
||||
ended = true;
|
||||
result = true;
|
||||
if (getUptimes(current.getWebsiteURL()).last().getStatus() == UptimeStatus.ERROR)
|
||||
{
|
||||
ended = true;
|
||||
result = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue