You are not logged in.
Pages: 1
Hi there.
We had version 0.72.4 and i made an update to 0.80.1.
All ok except i dont know if it is possible to put below user tickets her LDAP group.
My 0.72.4 has something like this to work around this.
+
+ //Look for user's groups. If groups found, then take the first and assign the ticket to it
+ $query="SELECT glpi_groups.*, glpi_users_groups.ID AS IDD,glpi_users_groups.ID as linkID from glpi_users_groups " .
+ "LEFT JOIN glpi_groups ON (glpi_groups.ID = glpi_users_groups.FK_groups) " .
+ "WHERE glpi_users_groups.FK_users='".$_SESSION["glpiID"]."' ".getEntitiesRestrictRequest("AND","glpi_groups","",$_SESSION["glpiactive_entity"],true)." ORDER BY glpi_groups.name";
+ $result = $DB->query($query);
+ if ($DB->numrows($result) > 0)
+ echo "<input type='hidden' name='FK_group' value=".$DB->result($result,0,"ID").">";
+
How can i resolve this problem in latest version of glpi?
Thanks.
Serge
Offline
I do not understand your troubles.
Could you explain more ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Offline
I want something like this at ID 11413.
It is possible with version 0.80.1???
Thanks to all
Offline
Pages: 1