Update project.class.php
This commit is contained in:
parent
beb2a0131c
commit
ed2d9435db
@ -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.
|
// For external user, no check is done on company because readability is managed by public status of project and assignement.
|
||||||
//$socid=$user->societe_id;
|
//$socid=$user->societe_id;
|
||||||
|
|
||||||
|
$projectsListId = null;
|
||||||
if (! $user->rights->projet->all->lire) $projectsListId = $this->getProjectsAuthorizedForUser($user, 0, 1);
|
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";
|
$sql = "SELECT p.rowid, p.fk_statut as status, p.fk_opp_status, p.datee as datee";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user