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 @@ $ranks = $datastore->get('ranks');
|
|||
$rank_id = (int)$this->request['rank_id'];
|
||||
|
||||
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 ($rank_id != 0 && !isset($ranks[$rank_id])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue