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 : bad test on socid #27353

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

FIX : bad test on socid #27353

wants to merge 3 commits into from

Conversation

defrance
Copy link
Contributor

@defrance defrance commented Jan 9, 2024

never work if no user id send (aka -1 on first param)

never work if no user id send (aka -1 on first param)
@eldy eldy added the PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) label Jan 10, 2024
$sql .= " AND f.fk_soc = ".((int) $socid);
}
} else {
Copy link
Member

@eldy eldy Jan 10, 2024

Choose a reason for hiding this comment

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

This seems to break the case when $socid = -1, where we should not have any test in such a case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants