From 261e536106fe369c464b4de186f2c3e40c392bdc Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Wed, 10 May 2023 10:47:57 +0200 Subject: [PATCH] fix(form_language): inverted arguments --- inc/form_language.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/form_language.class.php b/inc/form_language.class.php index 002f0b693..fe4fa5840 100644 --- a/inc/form_language.class.php +++ b/inc/form_language.class.php @@ -167,7 +167,7 @@ public function post_updateItem($history = 1) { // Reset cache for the edited translations $formFk = PluginFormcreatorForm::getForeignKeyField(); - $domain = PluginFormcreatorForm::getTranslationDomain($this->fields['name'], $this->fields[$formFk]); + $domain = PluginFormcreatorForm::getTranslationDomain($this->fields[$formFk], $this->fields['name']); $TRANSLATE->clearCache($domain, $this->fields['name']); }