Fix(Scrutinizer) replace erros -> errors https://scrutinizer-ci.com/g/Dolibarr/dolibarr/issues/develop/files/htdocs/core/modules/modBlockedLog.class.php?selectedLabels%5B0%5D=9&orderField=lastFound&order=desc&honorSelectedPaths=0
This commit is contained in:
parent
06c092acc0
commit
f82a9edbbd
@ -183,7 +183,7 @@ class modBlockedLog extends DolibarrModules
|
|||||||
$result = $b->setObjectData($object, 'MODULE_SET', 0);
|
$result = $b->setObjectData($object, 'MODULE_SET', 0);
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
$this->error = $b->error;
|
$this->error = $b->error;
|
||||||
$this->errors = $b->erros;
|
$this->errors = $b->errors;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -226,7 +226,7 @@ class modBlockedLog extends DolibarrModules
|
|||||||
$result = $b->setObjectData($object, 'MODULE_RESET', 0);
|
$result = $b->setObjectData($object, 'MODULE_RESET', 0);
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
$this->error = $b->error;
|
$this->error = $b->error;
|
||||||
$this->errors = $b->erros;
|
$this->errors = $b->errors;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user