fixed impval=0, thanks vp
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user