mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Fixed broken avatar ajax action for users (#1060)
This commit is contained in:
parent
3ed64ab494
commit
28b379f740
2 changed files with 17 additions and 16 deletions
|
@ -21,7 +21,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']);
|
||||
}
|
||||
|
||||
$new_ext_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue