Skip to content

Commit 261e536

Browse files
committed
fix(form_language): inverted arguments
1 parent f8dc080 commit 261e536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/form_language.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function post_updateItem($history = 1) {
167167

168168
// Reset cache for the edited translations
169169
$formFk = PluginFormcreatorForm::getForeignKeyField();
170-
$domain = PluginFormcreatorForm::getTranslationDomain($this->fields['name'], $this->fields[$formFk]);
170+
$domain = PluginFormcreatorForm::getTranslationDomain($this->fields[$formFk], $this->fields['name']);
171171
$TRANSLATE->clearCache($domain, $this->fields['name']);
172172
}
173173

0 commit comments

Comments
 (0)