Browse Source

FIX #22813

Laurent Destailleur 2 years ago
parent
commit
d54e63b60d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htdocs/core/modules/modBlockedLog.class.php

+ 2 - 2
htdocs/core/modules/modBlockedLog.class.php

@@ -183,7 +183,7 @@ class modBlockedLog extends DolibarrModules
 		$result = $b->setObjectData($object, 'MODULE_SET', 0);
 		if ($result < 0) {
 			$this->error = $b->error;
-			$this->errors = $b->erros;
+			$this->errors = $b->errors;
 			return 0;
 		}
 
@@ -226,7 +226,7 @@ class modBlockedLog extends DolibarrModules
 		$result = $b->setObjectData($object, 'MODULE_RESET', 0);
 		if ($result < 0) {
 			$this->error = $b->error;
-			$this->errors = $b->erros;
+			$this->errors = $b->errors;
 			return 0;
 		}