Wrong wording

This commit is contained in:
Michael 2020-01-18 04:52:30 +00:00
parent f3b3c4e866
commit f69a601ab1

View File

@ -51,7 +51,7 @@ class Register extends BaseModule
if (local_user()) { if (local_user()) {
$user = DBA::selectFirst('user', ['parent-uid'], ['uid' => local_user()]); $user = DBA::selectFirst('user', ['parent-uid'], ['uid' => local_user()]);
if (!empty($user['parent-uid'])) { if (!empty($user['parent-uid'])) {
notice(L10n::t('Only parent users can create additional profiles.')); notice(L10n::t('Only parent users can create additional accounts.'));
return ''; return '';
} }
} }