Fixes of defaultValue from undef to '', 0 for mysql 5.1
This commit is contained in:
parent
4ee2e59f1d
commit
179e75ef8f
6 changed files with 14 additions and 13 deletions
|
|
@ -118,12 +118,12 @@ sub definition {
|
|||
subscriptionGroupId => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
replies => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>0,
|
||||
},
|
||||
isSticky => {
|
||||
fieldType=>"yesNo",
|
||||
|
|
@ -131,12 +131,12 @@ sub definition {
|
|||
},
|
||||
isLocked => {
|
||||
fieldType=>"yesNo",
|
||||
defaultValue=>0
|
||||
defaultValue=>0,
|
||||
},
|
||||
lastPostId => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
lastPostDate => {
|
||||
noFormPost=>1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue