From 4502a6bee810e320198b3add37e1fd51e362819c Mon Sep 17 00:00:00 2001 From: drfho Date: Tue, 3 Oct 2023 22:37:47 +0200 Subject: [PATCH] using request.get --- Products/zms/_objinputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Products/zms/_objinputs.py b/Products/zms/_objinputs.py index fc7fcedf9..27f65282b 100644 --- a/Products/zms/_objinputs.py +++ b/Products/zms/_objinputs.py @@ -50,7 +50,7 @@ def getUrlInput(self, fmName, elName, elTextName='', size=None, value='', enable # @return String # ---------------------------------------------------------------------------- def getDateTimeInput(self, fmName, elName, size=8, value=None, enabled=True, fmt_str='DATETIME_FMT', css='form-control'): - manage_lang = self.REQUEST['manage_lang'] + manage_lang = self.REQUEST.get('manage_lang', self.getPrimaryLanguage()) html = [] input_type = 'date' if not isinstance(value, str):