temp fix for web2py/yJtJRTUVJTg

This commit is contained in:
Massimo Di Pierro
2012-04-21 11:10:26 -05:00
parent 091a21f769
commit 11c0b934bf
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-21 11:03:15) dev
Version 1.99.7 (2012-04-21 11:10:13) dev
+4 -1
View File
@@ -785,7 +785,10 @@ class SQLFORM(FORM):
self.custom.linkto = Storage()
# default id field name
self.id_field_name = table._id.name
if not keyed:
self.id_field_name = table._id.name
else:
self.id_field_name = table._primarykey[0] ### only works if one key
sep = separator or ''