Skip to content
Snippets Groups Projects
Commit 865f9def authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

FIX #4424 Missing email of user popup in supplier orders area

Close #4424
parent 234f3e33
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ if (! empty($conf->fournisseur->enabled)) ...@@ -245,7 +245,7 @@ if (! empty($conf->fournisseur->enabled))
/* /*
* List of users allowed * List of users allowed
*/ */
$sql = "SELECT u.rowid, u.lastname, u.firstname"; $sql = "SELECT u.rowid, u.lastname, u.firstname, u.email";
$sql.= " FROM ".MAIN_DB_PREFIX."user as u,"; $sql.= " FROM ".MAIN_DB_PREFIX."user as u,";
$sql.= " ".MAIN_DB_PREFIX."user_rights as ur"; $sql.= " ".MAIN_DB_PREFIX."user_rights as ur";
$sql.= ", ".MAIN_DB_PREFIX."rights_def as rd"; $sql.= ", ".MAIN_DB_PREFIX."rights_def as rd";
...@@ -278,6 +278,7 @@ if ($resql) ...@@ -278,6 +278,7 @@ if ($resql)
$userstatic->id=$obj->rowid; $userstatic->id=$obj->rowid;
$userstatic->lastname=$obj->lastname; $userstatic->lastname=$obj->lastname;
$userstatic->firstname=$obj->firstname; $userstatic->firstname=$obj->firstname;
$userstatic->email=$obj->email;
print $userstatic->getNomUrl(1); print $userstatic->getNomUrl(1);
print '</td>'; print '</td>';
print "</tr>\n"; print "</tr>\n";
......
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