Fixed MySQL issue.

This commit is contained in:
Brian Powell
2013-12-04 10:50:38 -05:00
parent f48fb5c499
commit d36fc65baa

View File

@@ -166,7 +166,7 @@ namespace Umbraco.Core.Services
var uow = _uowProvider.GetUnitOfWork();
var sql = new Sql();
sql.Select("app").From<User2AppDto>().Where("[user] = @userID", new {userID = user.Id});
sql.Select("app").From<User2AppDto>().Where("user = @userID", new {userID = user.Id});
return uow.Database.Fetch<string>(sql);
}