Skip to content

Commit

Permalink
Added comment about the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosomb committed Oct 31, 2024
1 parent 37b2ae7 commit 44b1662
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ private function formatFormRangesData(array $data): array

foreach ($data as $zone) {
foreach ($zone['ranges'] as $range) {
// Due to this bug https://github.com/PrestaShop/PrestaShop/issues/37151,
// We have to do this quick and dirty fix.
// This bug is due to symfony request handle.
if ($range['from'] === null || $range['to'] === null) {
continue;
}
Expand Down

0 comments on commit 44b1662

Please sign in to comment.