diff --git a/Sources/Actions/Register2.php b/Sources/Actions/Register2.php index a8f44e8098..9a9f18484f 100644 --- a/Sources/Actions/Register2.php +++ b/Sources/Actions/Register2.php @@ -573,7 +573,7 @@ public static function registerMember(array &$reg_options, bool $return_errors = 1 = The text/index. 2 = Whether to log. 3 = sprintf data if necessary. */ - $message = Lang::getTxt($error[1], (array) ($error[3] ?? []), file: 'Errors'); + $message = ($error[0] ?? 'lang') === 'done' ? $error[1] : Lang::getTxt($error[1], (array) ($error[3] ?? []), file: 'Errors'); // What to do, what to do, what to do. if ($return_errors) {