Merge branch 'bug/phpinfo-accessible-hotfix' into develop
[friendica.git/.git] / src / Module / Admin / Users.php
index 74fee72..2146716 100644 (file)
@@ -107,7 +107,7 @@ class Users extends BaseAdmin
                if ($uid) {
                        $user = User::getById($uid, ['username', 'blocked']);
                        if (!DBA::isResult($user)) {
-                               notice('User not found' . EOL);
+                               notice(DI::l10n()->t('User not found'));
                                DI::baseUrl()->redirect('admin/users');
                                return ''; // NOTREACHED
                        }