# HG changeset patch # User Sverre Rabbelier # Date 1236208213 0 # Node ID 47c1048fc4ef03363d83dc9b9d1214b28baecbd5 # Parent e3780ee24322fa88c7841a1fe16b902a9077eb08 Fixed a bug in document logic Patch by: Sverre Rabbelier diff -r e3780ee24322 -r 47c1048fc4ef app/soc/logic/models/document.py --- a/app/soc/logic/models/document.py Wed Mar 04 22:35:54 2009 +0000 +++ b/app/soc/logic/models/document.py Wed Mar 04 23:10:13 2009 +0000 @@ -65,7 +65,7 @@ """See base.Logic.isDeletable. """ - return not entity.home + return not entity.home_for def _updateField(self, entity, entity_properties, name): """Special logic for role. If state changes to active we flush the sidebar.