mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update avatar.php
This commit is contained in:
parent
a1dcb2214b
commit
0e37be8257
@ -14,7 +14,7 @@ if (!$user_id OR !$u_data = get_userdata($user_id))
|
||||
|
||||
if (!IS_ADMIN && $user_id != $user->id)
|
||||
{
|
||||
$this->ajax_die($lang['NOT_ADMIN']);
|
||||
$this->ajax_die($lang['NOT_AUTHORISED']);
|
||||
}
|
||||
|
||||
switch ($mode)
|
||||
|
Loading…
Reference in New Issue
Block a user