Commit 368e5e1c authored by 's avatar

Merged broken breadcrumb after add fix from 2.2 branch

parent 52166b2e
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''SQL Methods __doc__='''SQL Methods
$Id: SQL.py,v 1.13 2000/05/16 19:34:44 brian Exp $''' $Id: SQL.py,v 1.14 2000/11/13 17:05:28 brian Exp $'''
__version__='$Revision: 1.13 $'[11:-2] __version__='$Revision: 1.14 $'[11:-2]
import Shared.DC.ZRDB.DA import Shared.DC.ZRDB.DA
from Globals import HTMLFile from Globals import HTMLFile
...@@ -138,7 +138,8 @@ def manage_addZSQLMethod(self, id, title, ...@@ -138,7 +138,8 @@ def manage_addZSQLMethod(self, id, title,
# Note - type checking is handled by _setObject and constructor. # Note - type checking is handled by _setObject and constructor.
self._setObject(id, SQL(id, title, connection_id, arguments, template)) self._setObject(id, SQL(id, title, connection_id, arguments, template))
if REQUEST is not None: if REQUEST is not None:
u=REQUEST['URL1'] try: u=self.DestinationURL()
except: u=REQUEST['URL1']
if submit==" Add and Edit ": if submit==" Add and Edit ":
u="%s/%s/manage_main" % (u,id) u="%s/%s/manage_main" % (u,id)
elif submit==" Add and Test ": elif submit==" Add and Test ":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment