Update vcard.php
This commit is contained in:
parent
331f751905
commit
533fdda848
@ -40,8 +40,6 @@ if ($user->socid > 0) $socid = $user->socid;
|
|||||||
$feature2 = 'user';
|
$feature2 = 'user';
|
||||||
$result = restrictedArea($user, 'user', $id, 'user', $feature2);
|
$result = restrictedArea($user, 'user', $id, 'user', $feature2);
|
||||||
|
|
||||||
if ($user->id <> $id && !$canreaduser) accessforbidden();
|
|
||||||
|
|
||||||
|
|
||||||
$result = $user2->fetch($id);
|
$result = $user2->fetch($id);
|
||||||
if ($result <= 0)
|
if ($result <= 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user