Fixing style errors.

This commit is contained in:
stickler-ci
2023-01-18 08:53:28 +00:00
parent d344e108c9
commit 4ee0ede6d8
14 changed files with 27 additions and 27 deletions

View File

@@ -1252,8 +1252,8 @@ class Commande extends CommonOrder
$action = '';
$reshook = $hookmanager->executeHooks('createFrom', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
$this->errors += $hookmanager->errors;
$this->error = $hookmanager->error;
$this->errors += $hookmanager->errors;
$this->error = $hookmanager->error;
$error++;
}
}
@@ -1408,8 +1408,8 @@ class Commande extends CommonOrder
$action = '';
$reshook = $hookmanager->executeHooks('createFrom', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
$this->errors += $hookmanager->errors;
$this->error = $hookmanager->error;
$this->errors += $hookmanager->errors;
$this->error = $hookmanager->error;
$error++;
}