Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP warning when user not logged in #275

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

dregad
Copy link

@dregad dregad commented Apr 26, 2024

Warning: Trying to access array offset on value of type null in
./dokuwiki/move/action/rename.php on line 42

$USERINFO is null when user is not logged in.

Regression introduced by 0af31bb (#246).

Fixes #256, #255

dregad added 2 commits April 26, 2024 10:31
Warning: Trying to access array offset on value of type null in
./dokuwiki/move/action/rename.php on line 42

$USERINFO is null when user is not logged in.

Regression introduced by 0af31bb (michitux#246).

Fixes michitux#256, michitux#255
@michitux michitux merged commit fbb9ff7 into michitux:master Apr 30, 2024
0 of 7 checks passed
@dregad dregad deleted the i256-php-warning branch April 30, 2024 23:40
@dregad
Copy link
Author

dregad commented Apr 30, 2024

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

access array offset on value of type null
2 participants