Skip to content

Commit 7b67f88

Browse files
committed
fix issue 106
1 parent f0d24b6 commit 7b67f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/profileright.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
6363
*/
6464
public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
6565
{
66-
if ($item instanceof self && Session::haveRight('profile', READ)) {
66+
if ($item instanceof Profile && Session::haveRight('profile', READ)) {
6767
$profileright = new self();
6868
$profileright->showForm($item->fields['id']);
6969
}

0 commit comments

Comments
 (0)