From cb23f8635ad68c2950ee1247941778c4c97985fc Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 14 Feb 2014 22:27:39 -0600 Subject: [PATCH] fixed smartgrid bug, thanks Anthony --- VERSION | 2 +- gluon/sqlhtml.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e9ba3bf2..6ec9b55f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.02.14.21.02.54 +Version 2.8.2-stable+timestamp.2014.02.14.22.26.48 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index dd4b7bf5..930a6e33 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -2770,7 +2770,7 @@ class SQLFORM(FORM): if isinstance(item,Table) and item._tablename in check: tablename = item._tablename linked_fieldnames = check[tablename] - td = item + tb = item elif isinstance(item,str) and item in check: tablename = item linked_fieldnames = check[item]