From 6eb361d8f7af2958cab053ae753af8a9bdf13c23 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 8 Nov 2012 09:59:10 -0600 Subject: [PATCH] possibly fixed issue 1151 --- VERSION | 2 +- gluon/html.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4c55dd4b..104317a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.2.1 (2012-11-06 14:26:21) stable +Version 2.2.1 (2012-11-08 09:59:04) stable diff --git a/gluon/html.py b/gluon/html.py index 9635d243..3b9f0a84 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -1757,7 +1757,7 @@ class INPUT(DIV): t = self['_type'] = 'text' t = t.lower() value = self['value'] - if self['_value'] is None: + if self['_value'] is None or isinstance(self['_value'],cgi.FieldStorage): _value = None else: _value = str(self['_value'])