FIX : getEntity project and not projet
This commit is contained in:
parent
dab264c641
commit
86a58def3b
@ -1750,7 +1750,7 @@ class Project extends CommonObject
|
||||
$sql = "SELECT count(p.rowid) as nb";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."projet as p";
|
||||
$sql.= " WHERE";
|
||||
$sql.= " p.entity IN (".getEntity('projet').")";
|
||||
$sql.= " p.entity IN (".getEntity('project').")";
|
||||
if (! $user->rights->projet->all->lire)
|
||||
{
|
||||
$projectsListId = $this->getProjectsAuthorizedForUser($user,0,1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user