Browse Source

Fixed never ending loop for transfer types

pull/29/head
Teknikode 7 years ago
parent
commit
7d8691ebbe
  1. 1
      Teknik/Areas/User/Utility/UserHelper.cs

1
Teknik/Areas/User/Utility/UserHelper.cs

@ -271,7 +271,6 @@ namespace Teknik.Areas.Users.Utility @@ -271,7 +271,6 @@ namespace Teknik.Areas.Users.Utility
break;
}
user.Transfers.Remove(transfer);
i--;
}
db.Entry(user).State = EntityState.Modified;
db.SaveChanges();

Loading…
Cancel
Save