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 selectcontacts where GETPOST('socid') is empty #33201

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

Conversation

uvaldenaire-opendsi
Copy link
Contributor

When GETPOST('socid') is an empty string, all the contacts were loaded in $form->selectcontacts() even if MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT is not set to avoid to load all contacts.

@eldy
Copy link
Member

eldy commented Feb 24, 2025

And if we want all the contact by providing socid=0 or socid='' ? (This may be the expected behaviour on some pages)

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Feb 24, 2025
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