Use translations instead of untranslatable strings (#606)

This commit is contained in:
Roman Kelesidis 2023-03-16 23:03:56 +07:00 committed by GitHub
commit 14b5db1413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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']) {