Commit d27c479
Use null coalescing operator in currentProcessAuth
Before: currentProcessAuth() did $this->_args['authentication'] !== 'none', which assumes the key exists.
After: ($this->_args['authentication'] ?? null) !== 'none'.
Why: During logout, concurrent AJAX, or requests where _args was not fully set, PHP logged Undefined array key "authentication". This is a small hardening change; it does not change normal behavior when authentication is 'none', null, or unset (all treated as “auth not required for this process”). It mainly stops noise when apps call registry methods during/after session teardown.1 parent efb5978 commit d27c479
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2330 | 2330 | | |
2331 | 2331 | | |
2332 | 2332 | | |
2333 | | - | |
| 2333 | + | |
2334 | 2334 | | |
2335 | 2335 | | |
2336 | 2336 | | |
| |||
0 commit comments