mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
Update projectstats.class.php
This commit is contained in:
committed by
GitHub
parent
fceaae7a8d
commit
6ffd63c965
@@ -171,7 +171,7 @@ class ProjectStats extends Stats
|
||||
|
||||
if (! empty($this->status))
|
||||
$sqlwhere[] = " t.fk_opp_status IN (" . $this->status . ")";
|
||||
// TE: changed table alias "p" to "t"
|
||||
|
||||
if (! $user->rights->projet->all->lire) $sqlwhere[] = " t.rowid IN (".$projectsListId.")"; // public and assigned to, or restricted to company for external users
|
||||
|
||||
if (count($sqlwhere) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user