git-svn-id: https://forge.glpi-project.org/svn/example/trunk@164 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2011-08-09 13:47:36 +00:00
parent 3741f8508b
commit 35e2c888c7

View File

@ -89,7 +89,7 @@ function plugin_example_giveItem($type,$ID,$data,$num) {
switch ($table.'.'.$field) {
case "glpi_plugin_example_examples.name" :
$out = "<a href='".getItemTypeFormURL('PluginExampleExample')."?id=".$data['id']."'>";
$out = "<a href='".Toolbox::getItemTypeFormURL('PluginExampleExample')."?id=".$data['id']."'>";
$out .= $data["ITEM_$num"];
if ($_SESSION["glpiis_ids_visible"] || empty($data["ITEM_$num"])) {
$out .= " (".$data["id"].")";