Revision fbdbbd6a
[#1697] Association d'une machine à un technicien
Corrige un problème d'association entre la machine et son responsable
technique lorsque le "realname" du technicien est différent de son
"display name".
Change-Id: I76f6a8fde726207ee5195b79c19bbd334060d059
Refs: #1697
src/plugins/vigilo/inc/abstractmonitoreditem.class.php | ||
---|---|---|
98 | 98 |
$technician = new User(); |
99 | 99 |
$technician->getFromDB($this->item->fields["users_id_tech"]); |
100 | 100 |
if (NOT_AVAILABLE !== $technician->getName()) { |
101 |
$this->children[] = new VigiloGroup("/Technicians/" . $technician->getName());
|
|
101 |
$this->children[] = new VigiloGroup("/Technicians/" . $technician->fields['name']);
|
|
102 | 102 |
} |
103 | 103 |
} |
104 | 104 |
|
Also available in: Unified diff