diff --git a/VERSION b/VERSION index 99da24b0..865b18db 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.5-stable+timestamp.2013.03.31.15.30.02 +Version 2.4.5-stable+timestamp.2013.03.31.19.08.37 diff --git a/gluon/html.py b/gluon/html.py index 265e11d3..3d406af8 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -840,9 +840,8 @@ class DIV(XmlComponent): c.latest = self.latest c.session = self.session c.formname = self.formname - if hideerror and not \ - self.attributes.get('hideerror', False): - c['hideerror'] = hideerror + c['hideerror'] = hideerror or \ + self.attributes.get('hideerror', False) newstatus = c._traverse(status, hideerror) and newstatus # for input, textarea, select, option