# HG changeset patch # User Marcin Kuzminski # Date 2011-06-13 12:17:11 # Node ID 7ca0b584c91271c5e25995ae95cab7163fde7e06 # Parent 832399a4a45c613d8edc2b13c0c84934edec65f3 fixes #205 db value was not set to none after moving out of group diff --git a/rhodecode/model/repo.py b/rhodecode/model/repo.py --- a/rhodecode/model/repo.py +++ b/rhodecode/model/repo.py @@ -151,7 +151,7 @@ class RepoModel(BaseModel): cur_repo.user = user_model.get_by_username(v) elif k == 'repo_name': cur_repo.repo_name = form_data['repo_name_full'] - elif k == 'repo_group' and v: + elif k == 'repo_group': cur_repo.group_id = v else: