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

projet/tasks/time.php no entity filter in query #26243

Closed
aschio opened this issue Oct 17, 2023 · 1 comment
Closed

projet/tasks/time.php no entity filter in query #26243

aschio opened this issue Oct 17, 2023 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@aschio
Copy link
Contributor

aschio commented Oct 17, 2023

Bug

Filter on entity field is missing, so with multicompany module installed every company can see worked hour of other company

Environment Version

all version

Environment OS

all version

Environment Web server

all version

Environment PHP

all version

Environment Database

all version

Environment URL(s)

projet/tasks/time.php

Expected and actual behavior

$sql .= " WHERE p.entity IN (".getEntity('project').")";

Steps to reproduce the behavior

No response

Attached files

No response

@aschio aschio added the Bug This is a bug (something does not work as expected) label Oct 17, 2023
hregis added a commit to hregis/dolibarr that referenced this issue Oct 18, 2023
@hregis
Copy link
Contributor

hregis commented Oct 18, 2023

@aschio fixed with this PR #26247 thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants