From: gregweb <svn...@pl...> - 2006-07-01 12:15:59
|
Author: gregweb Date: Sat Jul 1 12:15:53 2006 New Revision: 25652 Modified: CMFEditions/trunk/StandardModifiers.py Log: - silly demo retrieve modifier has broken my EPC2006 demo :-(, corrected now Modified: CMFEditions/trunk/StandardModifiers.py ============================================================================== --- CMFEditions/trunk/StandardModifiers.py (original) +++ CMFEditions/trunk/StandardModifiers.py Sat Jul 1 12:15:53 2006 @@ -656,6 +656,10 @@ if getSecurityManager().getUser().getUserName() != "gregweb": return [], [], {} + print repo_clone.portal_type + if repo_clone.portal_type != "Document": + return [], [], {} + # sorry: hack clone = repo_clone.__of__(obj.aq_inner.aq_parent) |