We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d24b6 commit 7b67f88Copy full SHA for 7b67f88
inc/profileright.class.php
@@ -63,7 +63,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
63
*/
64
public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
65
{
66
- if ($item instanceof self && Session::haveRight('profile', READ)) {
+ if ($item instanceof Profile && Session::haveRight('profile', READ)) {
67
$profileright = new self();
68
$profileright->showForm($item->fields['id']);
69
}
0 commit comments