possibly fixed issue #243, SQLFORM.factory(..) and DAL(None)
This commit is contained in:
1 parent
928de67f8d
commit
ad68d2415d
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user