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

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