Fix undefined method
This commit is contained in:
parent
3f0a5cc689
commit
c377e5ea3d
@ -100,8 +100,8 @@ if (empty($reshook)) {
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->clearrights();
|
$user->clearrights();
|
||||||
$object->getrights();
|
$user->getrights();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == 'delrights' && $caneditperms) {
|
if ($action == 'delrights' && $caneditperms) {
|
||||||
@ -116,8 +116,8 @@ if (empty($reshook)) {
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->clearrights();
|
$user->clearrights();
|
||||||
$object->getrights();
|
$user->getrights();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user