|
|
@@ -397,7 +397,7 @@ func UserProfileUpdate(Db *xorm.Engine, uid interface{}, userProfile *model.User |
|
|
|
if forceCols != nil { |
|
|
|
affected, err = Db.Where("uid=?", uid).Cols(forceCols...).Update(userProfile) |
|
|
|
} else { |
|
|
|
affected, err = Db.Where("uid=?", uid).AllCols().Omit("fin_valid").Update(userProfile) |
|
|
|
affected, err = Db.Where("uid=?", uid).AllCols().Omit("fin_valid,parent_uid").Update(userProfile) |
|
|
|
} |
|
|
|
|
|
|
|
if err != nil { |
|
|
|