Fixes #1672
This commit is contained in:
+1
-1
@@ -1919,7 +1919,7 @@ class SQLFORM(FORM):
|
|||||||
if 'table_name' in attributes:
|
if 'table_name' in attributes:
|
||||||
del attributes['table_name']
|
del attributes['table_name']
|
||||||
|
|
||||||
return SQLFORM(DAL(None).define_table(table_name, *fields),
|
return SQLFORM(DAL(None).define_table(table_name, *[field.clone() for field in fields]),
|
||||||
**attributes)
|
**attributes)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user