Update commonobject.class.php

This commit is contained in:
delcroix Patrick 2018-05-24 21:20:34 +02:00 committed by GitHub
parent c85d216f8e
commit 3158fdc551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5062,7 +5062,7 @@ $val=$this->fields[$key];
$param['options']=array($reg[1].':'.$reg[2].':'.$reg[3].':'.$reg[4]=>'N');
$type ='sellist';
}else if(preg_match('/varchar\((\d+)\)/', $val['type'],reg)){
}else if(preg_match('/varchar\((\d+)\)/', $val['type'],$reg)){
$param['options']=array();
$type ='varchar';