Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
7f8306c8da
@ -136,7 +136,7 @@ $step = (GETPOST('step') ? GETPOST('step') : 1);
|
|||||||
$import_name = GETPOST('import_name');
|
$import_name = GETPOST('import_name');
|
||||||
$hexa = GETPOST('hexa');
|
$hexa = GETPOST('hexa');
|
||||||
$importmodelid = GETPOST('importmodelid');
|
$importmodelid = GETPOST('importmodelid');
|
||||||
$excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 1);
|
$excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 2);
|
||||||
$endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : '');
|
$endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : '');
|
||||||
$updatekeys = (GETPOST('updatekeys', 'array') ? GETPOST('updatekeys', 'array') : array());
|
$updatekeys = (GETPOST('updatekeys', 'array') ? GETPOST('updatekeys', 'array') : array());
|
||||||
$separator = (GETPOST('separator', 'nohtml') ? GETPOST('separator', 'nohtml') : (!empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE) ? $conf->global->IMPORT_CSV_SEPARATOR_TO_USE : ','));
|
$separator = (GETPOST('separator', 'nohtml') ? GETPOST('separator', 'nohtml') : (!empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE) ? $conf->global->IMPORT_CSV_SEPARATOR_TO_USE : ','));
|
||||||
|
|||||||
@ -434,7 +434,7 @@ class MyObject extends CommonObject
|
|||||||
$sql .= $this->getFieldList('t');
|
$sql .= $this->getFieldList('t');
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element." as t";
|
$sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element." as t";
|
||||||
if (isset($this->ismultientitymanaged) && $this->ismultientitymanaged == 1) {
|
if (isset($this->ismultientitymanaged) && $this->ismultientitymanaged == 1) {
|
||||||
$sql .= " WHERE t.entity IN (".getEntity($this->table_element).")";
|
$sql .= " WHERE t.entity IN (".getEntity($this->element).")";
|
||||||
} else {
|
} else {
|
||||||
$sql .= " WHERE 1 = 1";
|
$sql .= " WHERE 1 = 1";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user