Browse Source

Removed uneeded include

tags/2.0.3
Teknikode 4 years ago
parent
commit
e4b2ab0afc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/User/Utility/UserHelper.cs

+ 1
- 1
Teknik/Areas/User/Utility/UserHelper.cs View File

@@ -200,7 +200,7 @@ namespace Teknik.Areas.Users.Utility
#region User Management
public static User GetUser(TeknikEntities db, string username)
{
User user = db.Users.Include("Transfers").Where(b => b.Username == username).FirstOrDefault();
User user = db.Users.Where(b => b.Username == username).FirstOrDefault();
if (user != null)
{
user.UserSettings = db.UserSettings.Find(user.UserId);

Loading…
Cancel
Save