[Products.Silva][Sylvain Viollon] Fix a bug/issue.

[email protected] Fri, 08 Nov 2013 17:40:50 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Fri Nov 08 17:40:33 2013 +0100
revision:  11877:3068cee1e5c0 in Products.Silva
branch:    2.4
details:   https://hg.infrae.com/Products.Silva?cmd=changeset;node=3068cee1e5c0
modified:  Products/Silva/Ghost/base.py
added:     
removed:   
log:       Fix a bug/issue.


diffstat:

 Products/Silva/Ghost/base.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8b2a0402b221 -r 3068cee1e5c0 Products/Silva/Ghost/base.py
--- a/Products/Silva/Ghost/base.py	Fri Nov 08 17:27:05 2013 +0100
+++ b/Products/Silva/Ghost/base.py	Fri Nov 08 17:40:33 2013 +0100
@@ -93,7 +93,7 @@
 
     def modify(self, target, identifier=None):
         if identifier is None:
-            identifier = target
+            identifier = target.getId()
         if IGhostAware.providedBy(target):
             target = target.get_haunted()
         return self.manipulator(self, target, identifier)