Fix #25250 : Wrong class name in function
This commit is contained in:
parent
6465aefff7
commit
17471ff3b7
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ class Receptions extends DolibarrApi
|
|||
private function _validate($data)
|
||||
{
|
||||
$reception = array();
|
||||
foreach (Shipments::$FIELDS as $field) {
|
||||
foreach (Receptions::$FIELDS as $field) {
|
||||
if (!isset($data[$field])) {
|
||||
throw new RestException(400, "$field field missing");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue