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(core): prevent error when check contaier rights #699

Merged

Conversation

stonebuzz
Copy link
Contributor

@stonebuzz stonebuzz commented Sep 4, 2023

Context : password update (from policies) and container added to User

During password update process

$_SESSION['glpiactiveprofile']['id'] is isset but with null value.

PHP Fatal error is triggered

image

This PR fix this.

Fix : !29262

@stonebuzz stonebuzz added the bug label Sep 4, 2023
@stonebuzz stonebuzz self-assigned this Sep 4, 2023
@cedric-anne cedric-anne merged commit 3d90d1e into pluginsGLPI:develop Sep 5, 2023
1 check passed
@cedric-anne cedric-anne added this to the 1.21.1 milestone Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants