Skip to content

Commit

Permalink
Update familylist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ciberfred authored Oct 8, 2024
1 parent 6e86253 commit 044b112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/familylist.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
echo "<tr class='tab_bg_2'><th>" . Dropdown::getDropdownName("glpi_plugin_genericobject_typefamilies", $_GET['id']) . "</th></tr>";
foreach ($types as $type) {
$itemtype = $type['itemtype'];
if(Session::haveRight(PluginGenericobjectProfile::getProfileNameForItemtype($itemtype), READ)){
if (Session::haveRight(PluginGenericobjectProfile::getProfileNameForItemtype($itemtype), READ)) {
echo "<tr class='tab_bg_1'><td align='center'>";
echo "<a href='" . $itemtype::getSearchURL() . "'>";
echo $itemtype::getTypeName();
Expand Down

0 comments on commit 044b112

Please sign in to comment.