mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
fix call
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@164 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
3741f8508b
commit
35e2c888c7
2
hook.php
2
hook.php
@ -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"].")";
|
||||
|
Loading…
x
Reference in New Issue
Block a user