Skip to content
Snippets Groups Projects
Commit 128fef0e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #586 from FHenry/3.3

Fix [ bug #668 ] Event created with a profile is not visible by the same
parents abccfdd1 e369d5df
No related branches found
No related tags found
No related merge requests found
......@@ -555,7 +555,13 @@ if ($action == 'create')
}
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>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment