diff --git a/app/db/db_user_profile.go b/app/db/db_user_profile.go index 0220494..dd1311f 100644 --- a/app/db/db_user_profile.go +++ b/app/db/db_user_profile.go @@ -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 {