Skip to content

Commit

Permalink
fix(form): export broken due to typo
Browse files Browse the repository at this point in the history
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Oct 11, 2018
1 parent f8131fc commit d1f93ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/question.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ public function export($remove_uuid = false) {

// get question parameters
$question['_parameters'] = [];
$this->field = PluginFormcreatorFields::getFieldIntance($this->getField('fieldtype'), $this);
$this->field = PluginFormcreatorFields::getFieldInstance($this->getField('fieldtype'), $this);
$parameters = $this->field->getParameters();
foreach ($parameters as $fieldname => $parameter) {
$question['_parameters'][$this->fields['fieldtype']][$fieldname] = $parameter->export();
Expand Down

0 comments on commit d1f93ce

Please sign in to comment.