Skip to content

Commit

Permalink
🐛 Return if version < at 8.0 to prevent shop crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
intraordinaire committed Aug 1, 2024
1 parent e650e98 commit a878813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ps_mbo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*/

declare(strict_types=1);
if (!defined('_PS_VERSION_')) {
exit;
if (!defined('_PS_VERSION_') || version_compare(_PS_VERSION_, '8.0.2', '<')) {
return;
}

$autoloadPath = __DIR__ . '/vendor/autoload.php';
Expand Down

0 comments on commit a878813

Please sign in to comment.