Skip to content

Commit

Permalink
Update projectstats.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 15, 2018
1 parent fceaae7 commit 6ffd63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/projet/class/projectstats.class.php
Expand Up @@ -171,7 +171,7 @@ public function buildWhere()

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) {
Expand Down

0 comments on commit 6ffd63c

Please sign in to comment.