fixed impval=0, thanks vp

This commit is contained in:
mdipierro
2012-10-10 12:10:51 -05:00
parent 36fc758690
commit b3afa2ab57
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.1.0 (2012-10-10 12:00:56) dev
Version 2.1.0 (2012-10-10 12:10:48) dev
+1 -1
View File
@@ -1059,7 +1059,7 @@ class SQLFORM(FORM):
xfields.append((row_id,label,inp,comment))
self.custom.dspval[fieldname] = dspval or nbsp
self.custom.inpval[fieldname] = inpval or ''
self.custom.inpval[fieldname] = inpval if not inpval is None else ''
self.custom.widget[fieldname] = inp
# if a record is provided and found, as is linkto