Skip to content

Commit

Permalink
fix(form_language): inverted arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 15, 2023
1 parent f8dc080 commit 261e536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form_language.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}

Expand Down

0 comments on commit 261e536

Please sign in to comment.