fix syntax error

This commit is contained in:
Dario 2020-03-09 12:58:57 +01:00
parent 00a80e167e
commit 16d4abe02c
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ void AdminCheckUserBackup::handleRequest(Poco::Net::HTTPServerRequest& request,
if(matching) continue;
} else {
auto lastEntry = notMatchingEntrys.back();
if(lastEntry->user->getModel()->getId() == user_id && matching == true) {
if(lastEntry.user->getModel()->getID() == user_id && matching == true) {
notMatchingEntrys.pop_back();
continue;
}

View File

@ -64,7 +64,7 @@ struct SListEntry
if(matching) continue;
} else {
auto lastEntry = notMatchingEntrys.back();
if(lastEntry->user->getModel()->getId() == user_id && matching == true) {
if(lastEntry.user->getModel()->getID() == user_id && matching == true) {
notMatchingEntrys.pop_back();
continue;
}