possibly fixed issue #243, SQLFORM.factory(..) and DAL(None)

This commit is contained in:
mdipierro
2015-07-06 10:04:14 -05:00
parent 928de67f8d
commit ad68d2415d
+1 -1
View File
@@ -1678,7 +1678,7 @@ class SQLFORM(FORM):
self.vars.update(pk)
else:
ret = False
else:
elif self.table._db._uri:
if record_id:
self.vars.id = self.record[self.id_field_name]
if fields: