Skip to content
Snippets Groups Projects
Commit af599743 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: hide refnav if external user

parent 27bd255b
No related branches found
No related tags found
No related merge requests found
......@@ -986,7 +986,7 @@ else
// Name
print '<tr><td width="20%">'.$langs->trans('Name').'</td>';
print '<td colspan="3">';
print $form->showrefnav($soc,'socid','',1,'rowid','nom');
print $form->showrefnav($soc,'socid','',($user->societe_id?0:1),'rowid','nom');
print '</td></tr>';
print '<tr><td>'.$langs->trans('Prefix').'</td><td colspan="3">'.$soc->prefix_comm.'</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