author | Lennard de Rijk <ljvderijk@gmail.com> |
Sat, 24 Jan 2009 21:38:28 +0000 | |
changeset 969 | b12de918d660 |
parent 968 | 8177ddc9ea35 |
child 970 | 8b5611d5b053 |
--- a/app/soc/views/models/host.py Sat Jan 24 20:51:51 2009 +0000 +++ b/app/soc/views/models/host.py Sat Jan 24 21:38:28 2009 +0000 @@ -132,7 +132,7 @@ def _editPost(self, request, entity, fields): """See base.View._editPost(). """ - if not entity + if not entity: fields['user'] = fields['link_id'] fields['link_id'] = fields['link_id'].link_id