Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/core/boxes/box_project.php
This commit is contained in:
commit
401f587868
@ -91,7 +91,7 @@ class box_project extends ModeleBoxes
|
|||||||
|
|
||||||
$socid=0;
|
$socid=0;
|
||||||
//if ($user->societe_id > 0) $socid = $user->societe_id; // For external user, no check is done on company because readability is managed by public status of project and assignement.
|
//if ($user->societe_id > 0) $socid = $user->societe_id; // For external user, no check is done on company because readability is managed by public status of project and assignement.
|
||||||
|
|
||||||
// Get list of project id allowed to user (in a string list separated by coma)
|
// Get list of project id allowed to user (in a string list separated by coma)
|
||||||
$projectsListId='';
|
$projectsListId='';
|
||||||
if (! $user->rights->projet->all->lire) $projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, 0, 1, $socid);
|
if (! $user->rights->projet->all->lire) $projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, 0, 1, $socid);
|
||||||
|
|||||||
@ -4755,7 +4755,7 @@ class Form
|
|||||||
|
|
||||||
$out='';
|
$out='';
|
||||||
$out.= '<select class="flat" name="'.$htmlname.'" id="'.$htmlname.'">';
|
$out.= '<select class="flat" name="'.$htmlname.'" id="'.$htmlname.'">';
|
||||||
if ($useempty) $out .= '<option value=""></option>';
|
if ($useempty) $out .= '<option value=""> </option>';
|
||||||
// If company current currency not in table, we add it into list. Should always be available.
|
// If company current currency not in table, we add it into list. Should always be available.
|
||||||
if (! in_array($conf->currency, $TCurrency))
|
if (! in_array($conf->currency, $TCurrency))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user