Fix [ bug #668 ] Event created with a profile is not visible by the same
profile
This commit is contained in:
parent
abccfdd168
commit
e369d5dfd8
@ -555,7 +555,13 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $form->select_company('','socid','',1,1);
|
//For external user force the company to user company
|
||||||
|
if (!empty($user->societe_id)) {
|
||||||
|
print $form->select_company($user->societe_id,'socid','',1,1);
|
||||||
|
} else {
|
||||||
|
print $form->select_company('','socid','',1,1);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user