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
|
@ -14,7 +14,7 @@ if (!defined('IN_AJAX')) {
|
|||
global $lang, $user;
|
||||
|
||||
if (!$user_id = (int)$this->request['user_id'] or !$profiledata = get_userdata($user_id)) {
|
||||
$this->ajax_die("invalid user_id: $user_id");
|
||||
$this->ajax_die($lang['NO_USER_ID_SPECIFIED']);
|
||||
}
|
||||
|
||||
if (!$mode = (string)$this->request['mode']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue