Merge pull request #2882 from GPCsolutions/dolibarr-2881
Make select_salesrepresentative() return 0 when empty
This commit is contained in:
commit
e9d58c06a2
@ -384,7 +384,7 @@ class FormOther
|
||||
}
|
||||
// Select each sales and print them in a select input
|
||||
$out.='<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'"'.$nodatarole.'>';
|
||||
if ($showempty) $out.='<option value="-1"> </option>';
|
||||
if ($showempty) $out.='<option value="0"> </option>';
|
||||
|
||||
// Get list of users allowed to be viewed
|
||||
$sql_usr = "SELECT u.rowid, u.lastname, u.firstname, u.statut, u.login";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user