Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Revert "Fix d'une erreur de compatibilité php8. depuis la php8.0 "" e…
Browse files Browse the repository at this point in the history
…st inférieur a 0"

This reverts commit 7331e36.
  • Loading branch information
thomas-Ngr committed Jul 26, 2024
1 parent 9386515 commit e1de5b4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# ChangeLog

## [14.0.7] - 25-07-2024
- Correction compatibilité PHP 8.2

## [14.0.6] - 10-07-2024
- Correction compatibilité PHP 8.2

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.0.7
14.0.6
2 changes: 0 additions & 2 deletions class/actions_ecommerceng.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -873,14 +873,12 @@ public function stockMovementCreate($parameters, &$object, &$action, $hookmanage
$this->errors[] = $product->errorsToString();
return -1;
} elseif ($result == 0) {
$this->resprints = "1";
return 1;
}

if (isset($product->array_options['options_ecommerceng_stockable_product']) &&
$product->array_options['options_ecommerceng_stockable_product'] == 0
) {
$this->resprints = "1";
return 1;
}
}
Expand Down

0 comments on commit e1de5b4

Please sign in to comment.