Update project.class.php

This commit is contained in:
Laurent Destailleur 2019-06-07 15:21:15 +02:00 committed by GitHub
parent beb2a0131c
commit ed2d9435db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1794,6 +1794,7 @@ class Project extends CommonObject
// For external user, no check is done on company because readability is managed by public status of project and assignement.
//$socid=$user->societe_id;
$projectsListId = null;
if (! $user->rights->projet->all->lire) $projectsListId = $this->getProjectsAuthorizedForUser($user, 0, 1);
$sql = "SELECT p.rowid, p.fk_statut as status, p.fk_opp_status, p.datee as datee";