Skip to content

Commit

Permalink
no auto-session for manage_lang outside zmi
Browse files Browse the repository at this point in the history
  • Loading branch information
zmsdev committed Oct 2, 2023
1 parent 08272d6 commit 9dffe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/_multilangmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def get_manage_lang(self):
"""
manage_lang = None
req = getattr( self, 'REQUEST', None)
if req is not None:
if req is not None and [x for x in req.get('URL','/manage').split('/') if x.find('manage')]:
sess = standard.get_session(self)
if 'manage_lang' in req:
manage_lang = req.get('manage_lang')
Expand Down

0 comments on commit 9dffe32

Please sign in to comment.