Skip to content

Commit

Permalink
Merge pull request #244 from PrestaShop/develop
Browse files Browse the repository at this point in the history
Merge `develop` into `master`
  • Loading branch information
Progi1984 authored Jul 15, 2024
2 parents 981b450 + c6d1fdc commit 443a5e8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
48 changes: 24 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Controller/ImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private function checkAuth(Request $request, array $allowedCampaigns, bool $forc
], Response::HTTP_BAD_REQUEST);
}

$this->version = $matchesVersion[1];
$this->version = \str_replace('_', ' ', $matchesVersion[1]);
if (strlen($this->version) < 1) {
return new JsonResponse([
'message' => sprintf(
Expand Down

0 comments on commit 443a5e8

Please sign in to comment.