Fixed loading of saved vouchers.
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ public:
|
||||
pSession = ptrSession.data();
|
||||
}
|
||||
|
||||
*pSession += qx::dao::delete_by_id(entity);
|
||||
*pSession += qx::dao::delete_by_id(entity, pSession->database());
|
||||
|
||||
if (!pSession->isValid()) {
|
||||
qDebug() << pSession->firstError().text();
|
||||
|
||||
Reference in New Issue
Block a user