Răsfoiți Sursa

UCoreUtils: fix bug in helper

Herman Schoenfeld 7 ani în urmă
părinte
comite
aca19ff057
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/core.utils/UCoreUtils.pas

+ 1 - 1
src/core.utils/UCoreUtils.pas

@@ -738,7 +738,7 @@ var
   LAccs : TArray<TAccount>;
 begin
   Result := CT_BalanceSummary_Nil;
-  LAccs := Self.GetAccounts;
+  LAccs := Self.GetAccounts(IncludePending);
   for i := Low(LAccs) to High(LAccs) do begin
     Inc(Result.TotalPASA);
     Inc(Result.TotalPASC, LAccs[i].Balance);