Skip to content

Commit

Permalink
fix(question): parameters duplicated twice
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Sep 4, 2020
1 parent 9d43e80 commit e6889cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/question.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,15 +646,15 @@ public function pre_deleteItem() {
public function post_addItem() {
if (!isset($this->input['_skip_checks']) || !$this->input['_skip_checks']) {
$this->updateConditions($this->input);
$this->updateParameters($this->input);
}
$this->updateParameters($this->input);
}

public function post_updateItem($history = 1) {
if (!isset($this->input['_skip_checks']) || !$this->input['_skip_checks']) {
$this->updateConditions($this->input);
$this->updateParameters($this->input);
}
$this->updateParameters($this->input);
}

/**
Expand Down

0 comments on commit e6889cc

Please sign in to comment.