mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix size of key for extrafield of type select
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user