possible fix for issue 619

This commit is contained in:
Massimo Di Pierro
2012-01-26 10:58:53 -06:00
parent c67d95c928
commit 937559bdfb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-24 21:14:55) stable
Version 1.99.4 (2012-01-26 10:58:26) stable
+1 -1
View File
@@ -1963,7 +1963,7 @@ class SQLFORM(FORM):
else:
del kwargs[key]
for tablename,fieldname in table._referenced_by:
id_field_name = db[tablename]._id.name
id_field_name = table._id.name
if linked_tables is None or tablename in linked_tables:
args0 = tablename+'.'+fieldname
links.append(