From 1361ecdbd44f8a7ef37bf7ec2ae496554917b211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org> Date: Tue, 20 Oct 2020 09:43:18 +0200 Subject: [PATCH] :ambulance: fix(config) Fix source for locale setting error Make sure the error is tagged as coming from language field issue #6051 --- plugins/config/class_configInLdap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/config/class_configInLdap.inc b/plugins/config/class_configInLdap.inc index 79942c3ed..456e4d76c 100644 --- a/plugins/config/class_configInLdap.inc +++ b/plugins/config/class_configInLdap.inc @@ -543,7 +543,7 @@ class configInLdap extends simplePlugin } if ($this->attributesAccess['fdLanguage']->hasChanged() && ($this->fdLanguage != '') && !Language::isAvailable($this->fdLanguage)) { $messages[] = new SimplePluginCheckError( - $this, + $this->attributesAccess['fdLanguage'], htmlescape(sprintf(_('It seems the selected language "%s" is not installed on the system. Please install it or select an other one.'), $this->fdLanguage)) ); } -- GitLab