Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3368f7c
)
Fix undefined key error
0.5.1
author
Raphaël Gertz
<git@rapsys.eu>
Thu, 10 Oct 2024 22:02:18 +0000
(
00:02
+0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Thu, 10 Oct 2024 22:02:18 +0000
(
00:02
+0200)
Util/SluggerUtil.php
patch
|
blob
|
history
diff --git
a/Util/SluggerUtil.php
b/Util/SluggerUtil.php
index c4d00b7a5a6ceffb4ecae1e4073812fb6e395830..7abf5d325231d519ef28b35f765bde841d216098 100644
(file)
--- 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;
}