FIX avoid php warning
This commit is contained in:
parent
46e4663a5a
commit
4d4638c75a
1 changed files with 3 additions and 0 deletions
|
|
@ -130,6 +130,9 @@ if ($user->id != $id && !$canreaduser) {
|
|||
accessforbidden();
|
||||
}
|
||||
|
||||
$caneditpasswordandsee = $canadduser;
|
||||
$caneditpasswordandsend = $canadduser;
|
||||
|
||||
// Define value to know what current user can do on properties of edited user
|
||||
if ($id > 0) {
|
||||
// $user is the current logged user, $id is the user we want to edit
|
||||
|
|
|
|||
Loading…
Reference in a new issue