Fix size of key for extrafield of type select
This commit is contained in:
parent
33cd0e84d2
commit
bf46a35a31
@ -239,8 +239,8 @@ class ExtraFields
|
||||
$typedb='varchar';
|
||||
$lengthdb='255';
|
||||
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') ||($type=='checkbox') ||($type=='chkbxlst')){
|
||||
$typedb='text';
|
||||
$lengthdb='';
|
||||
$typedb='varchar';
|
||||
$lengthdb='255';
|
||||
} elseif ($type=='link') {
|
||||
$typedb='int';
|
||||
$lengthdb='11';
|
||||
@ -542,8 +542,8 @@ class ExtraFields
|
||||
$typedb='varchar';
|
||||
$lengthdb='255';
|
||||
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') || ($type=='checkbox') || ($type=='chkbxlst')) {
|
||||
$typedb='text';
|
||||
$lengthdb='';
|
||||
$typedb='varchar';
|
||||
$lengthdb='255';
|
||||
} elseif ($type == 'html') {
|
||||
$typedb='text';
|
||||
} elseif ($type=='link') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user