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']); }