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 Include for Website Pages Of Library Type #31891

Merged

Conversation

Daoud-mohamed
Copy link
Contributor

Fix Include for Website Pages Of Library Type

Scenario to reproduce the error:

In website module, we have three containers:

  1. Header
  2. Content
  3. Library (contains functions)

When the website is displayed as a complete page, it works well because the functions in the Library container are included only once.

However, if we want to display only the Content container (which relies on some functions in the Library), we encounter an error. Including the Library container within the Content container causes it to be included twice, leading to errors.

@eldy eldy merged commit 2f68e94 into Dolibarr:develop Nov 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants