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

Fix: Missing parameter of function

parent 1423c375
No related branches found
No related tags found
No related merge requests found
......@@ -790,7 +790,7 @@ class Form
*/
function select_dolusers($selected='',$htmlname='userid',$show_empty=0,$exclude='',$disabled=0,$include='',$enableonly='')
{
global $conf,$user;
global $conf,$user,$langs;
// If no preselected user defined, we take current user
if (empty($selected) && empty($conf->global->SOCIETE_DISABLE_DEFAULT_SALESREPRESENTATIVE)) $selected=$user->id;
......@@ -2211,6 +2211,7 @@ class Form
function form_contacts($page, $societe, $selected='', $htmlname='contactidp')
{
global $langs;
if ($htmlname != "none")
{
print '<form method="post" action="'.$page.'">';
......
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