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 avoid php warnings #32333

Open
wants to merge 1 commit into
base: 20.0
Choose a base branch
from

Conversation

hregis
Copy link
Contributor

@hregis hregis commented Dec 12, 2024

No description provided.

@hregis hregis requested a review from eldy December 12, 2024 08:07
@@ -174,6 +174,13 @@
$pageprev = $page - 1;
$pagenext = $page + 1;

// Security check
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to template in modulebuilder, the test on restrictArea is done at end of header.
The reason is that some tests on permission need the variable to be initialized before being checked.
On which field is the warning ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants