fixed optional formatting of empty list:string
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.6-stable+timestamp.2013.04.24.18.04.43
|
||||
Version 2.4.6-stable+timestamp.2013.04.25.18.09.54
|
||||
|
||||
+1
-1
@@ -1073,7 +1073,7 @@ class SQLFORM(FORM):
|
||||
cond = readonly or \
|
||||
(not ignore_rw and not field.writable and field.readable)
|
||||
|
||||
if default and not cond:
|
||||
if default is not None and not cond:
|
||||
default = field.formatter(default)
|
||||
dspval = default
|
||||
inpval = default
|
||||
|
||||
Reference in New Issue
Block a user