Qaul - remove parameter not used in trans function of WebPortal (#31004)

This commit is contained in:
lvessiller-opendsi 2024-09-18 02:53:38 +02:00 committed by GitHub
parent d5fe4f998a
commit a52af1eaf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ if (!defined('WEBPORTAL_NOLOGIN') && !empty($context->controllerInstance->access
if ($user_id <= 0) {
$error++;
$error_msg = $langs->transnoentitiesnoconv('WebPortalSetupNotComplete', $user_id);
$error_msg = $langs->transnoentitiesnoconv('WebPortalSetupNotComplete');
dol_syslog($error_msg, LOG_WARNING);
$context->setEventMessages($error_msg, null, 'errors');
}