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';
|
$typedb='varchar';
|
||||||
$lengthdb='255';
|
$lengthdb='255';
|
||||||
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') ||($type=='checkbox') ||($type=='chkbxlst')){
|
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') ||($type=='checkbox') ||($type=='chkbxlst')){
|
||||||
$typedb='text';
|
$typedb='varchar';
|
||||||
$lengthdb='';
|
$lengthdb='255';
|
||||||
} elseif ($type=='link') {
|
} elseif ($type=='link') {
|
||||||
$typedb='int';
|
$typedb='int';
|
||||||
$lengthdb='11';
|
$lengthdb='11';
|
||||||
@ -542,8 +542,8 @@ class ExtraFields
|
|||||||
$typedb='varchar';
|
$typedb='varchar';
|
||||||
$lengthdb='255';
|
$lengthdb='255';
|
||||||
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') || ($type=='checkbox') || ($type=='chkbxlst')) {
|
} elseif (($type=='select') || ($type=='sellist') || ($type=='radio') || ($type=='checkbox') || ($type=='chkbxlst')) {
|
||||||
$typedb='text';
|
$typedb='varchar';
|
||||||
$lengthdb='';
|
$lengthdb='255';
|
||||||
} elseif ($type == 'html') {
|
} elseif ($type == 'html') {
|
||||||
$typedb='text';
|
$typedb='text';
|
||||||
} elseif ($type=='link') {
|
} elseif ($type=='link') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user