[Zope-CMF] bug in FSDTMLMethod.py

Luca Olivetti luca@wetron.es
Tue, 26 Nov 2002 16:37:01 +0100


--- CMFCore/FSDTMLMethod.py.orig        Tue Nov 26 16:33:31 2002
+++ CMFCore/FSDTMLMethod.py     Tue Nov 26 16:33:48 2002
@@ -137,7 +137,7 @@
              r=apply(Globals.HTML.__call__, (self, client, REQUEST), kw)
              if type(r) is not type('') or RESPONSE is None:
                  if not self._cache_namespace_keys:
-                    self.ZCacheable_set(result)
+                    self.ZCacheable_set(r)
                  return r

          finally: security.removeContext(self)

-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007