mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix regression
This commit is contained in:
parent
1f360ca498
commit
dcb0befcd4
|
|
@ -202,7 +202,7 @@ class Subscriptions extends DolibarrApi
|
|||
}
|
||||
continue;
|
||||
}
|
||||
$subscription->$field = $this->_checkValForAPI($field, $val, $subscription);
|
||||
$subscription->$field = $this->_checkValForAPI($field, $value, $subscription);
|
||||
}
|
||||
|
||||
if ($subscription->update(DolibarrApiAccess::$user) > 0) {
|
||||
|
|
|
|||
|
|
@ -463,7 +463,7 @@ class Shipments extends DolibarrApi
|
|||
}
|
||||
continue;
|
||||
}
|
||||
$this->shipment->$field = $this->_checkValForAPI($field, $val, $this->shipment);;
|
||||
$this->shipment->$field = $this->_checkValForAPI($field, $value, $this->shipment);;
|
||||
}
|
||||
|
||||
if ($this->shipment->update(DolibarrApiAccess::$user) > 0) {
|
||||
|
|
|
|||
|
|
@ -478,7 +478,7 @@ class Tasks extends DolibarrApi
|
|||
}
|
||||
continue;
|
||||
}
|
||||
$this->task->$field = $this->_checkValForAPI($field, $val, $this->task);
|
||||
$this->task->$field = $this->_checkValForAPI($field, $value, $this->task);
|
||||
}
|
||||
|
||||
if ($this->task->update(DolibarrApiAccess::$user) > 0) {
|
||||
|
|
|
|||
|
|
@ -464,7 +464,7 @@ class Receptions extends DolibarrApi
|
|||
}
|
||||
continue;
|
||||
}
|
||||
$this->reception->$field = $this->_checkValForAPI($field, $val, $this->reception);
|
||||
$this->reception->$field = $this->_checkValForAPI($field, $value, $this->reception);
|
||||
}
|
||||
|
||||
if ($this->reception->update(DolibarrApiAccess::$user) > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user