Commit 21e9331
committed
BUGFIX: Use reference variable for withoutAuthorizationChecks callback result
Flow's SecurityContext::withoutAuthorizationChecks() has a void return type
and does not return the callback result. The previous implementation assumed
the return value would be passed through, causing $nodeFromContext to always
be null and preventing any nodes from being indexed.
This fix captures the result via a reference variable instead.1 parent 4ea253c commit 21e9331
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
0 commit comments