mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Use translations instead of untranslatable strings (#606)
This commit is contained in:
parent
5ab7de5bf9
commit
14b5db1413
4 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ $mode = (string)$this->request['mode'];
|
|||
$user_id = (int)$this->request['user_id'];
|
||||
|
||||
if (!$user_id or !$u_data = get_userdata($user_id)) {
|
||||
$this->ajax_die('Invalid user_id');
|
||||
$this->ajax_die($lang['NO_USER_ID_SPECIFIED']);
|
||||
}
|
||||
|
||||
if (!IS_ADMIN && $user_id != $user->id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue