Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
This commit is contained in:
commit
17a4447ccb
@ -615,7 +615,8 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
|
||||
//Standard Extrafield feature
|
||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
||||
$elementtype = Societe::$table_element;
|
||||
$socstatic = new Societe($this->db);
|
||||
$elementtype = $socstatic->table_element;
|
||||
|
||||
$extrafields->fetch_name_optionals_label($elementtype);
|
||||
|
||||
@ -752,7 +753,8 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
|
||||
//Standard Extrafield feature
|
||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
||||
$elementtype = Contact::$table_element;
|
||||
$contactstatic = new Contact($this->db);
|
||||
$elementtype = $contactstatic->table_element;
|
||||
|
||||
// fetch optionals attributes and labels
|
||||
dol_include_once('/core/class/extrafields.class.php');
|
||||
@ -854,7 +856,8 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
|
||||
//Standard Extrafield feature
|
||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) {
|
||||
$elementtype = Societe::$table_element;
|
||||
$socstatic = new Societe($this->db);
|
||||
$elementtype = $socstatic->table_element;
|
||||
|
||||
// fetch optionals attributes and labels
|
||||
dol_include_once('/core/class/extrafields.class.php');
|
||||
|
||||
@ -1049,7 +1049,7 @@ class ExpenseReport extends CommonObject
|
||||
$deplig = new ExpenseReportLine($this->db);
|
||||
|
||||
$deplig->rowid = $objp->rowid;
|
||||
$deplig->id = $objp->id;
|
||||
$deplig->id = $objp->rowid;
|
||||
$deplig->comments = $objp->comments;
|
||||
$deplig->qty = $objp->qty;
|
||||
$deplig->value_unit = $objp->value_unit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user