do not send empty lists

이 커밋은 다음에 포함됨:
Sven Czarnian가 2021-11-21 08:54:22 +01:00를 커밋했습니다
1 부모 ce23f956ed
커밋 b1b6b5c790
1 파일이 변경됨
+5 -3
+5 -3
파일 보기
@@ -470,9 +470,11 @@ void PlugIn::OnTimer(int counter) {
}
/* send the report */
auto sequence = Backend::instance().update(update);
if (true == inserted && nullptr != sequence)
this->DisplayUserMessage(PLUGIN_NAME, "ERROR", "Unable to send a new aircraft report update", true, true, true, true, true);
if (true == inserted) {
auto sequence = Backend::instance().update(update);
if (nullptr != sequence)
this->DisplayUserMessage(PLUGIN_NAME, "ERROR", "Unable to send a new aircraft report update", true, true, true, true, true);
}
airport.second.clear();
}