From a52af1eaf3efeddcd73138eaf2d8483073e33fb1 Mon Sep 17 00:00:00 2001 From: lvessiller-opendsi Date: Wed, 18 Sep 2024 02:53:38 +0200 Subject: [PATCH] Qaul - remove parameter not used in trans function of WebPortal (#31004) --- htdocs/public/webportal/webportal.main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }