X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/1dca397fd4da988e8a9851f29ffcf808696a9b4f..d2c18aaacbee5386b7b27edd6461ccd3630bc5d7:/Util/SluggerUtil.php diff --git a/Util/SluggerUtil.php b/Util/SluggerUtil.php index c4d00b7..7abf5d3 100644 --- a/Util/SluggerUtil.php +++ b/Util/SluggerUtil.php @@ -46,7 +46,7 @@ class SluggerUtil { */ public function __construct(protected string $secret) { //Without range - if (empty($range = $_ENV['RAPSYSPACK_RANGE']) || $range === 'Ch4ng3m3!') { + if (!isset($_ENV['RAPSYSPACK_RANGE']) || empty($range = $_ENV['RAPSYSPACK_RANGE']) || $range === 'Ch4ng3m3!') { //Protect member variable setup return; }