diff --git a/htdocs/public/webportal/webportal.main.inc.php b/htdocs/public/webportal/webportal.main.inc.php index 8a0b647a34c..1ad118b7360 100644 --- a/htdocs/public/webportal/webportal.main.inc.php +++ b/htdocs/public/webportal/webportal.main.inc.php @@ -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'); }