Skip to content

Commit

Permalink
fix(section): fail to import condition settings
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Feb 4, 2021
1 parent 051184a commit 7f712bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions inc/section.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,15 @@ public function pre_deleteItem() {
}

public function post_addItem() {
$this->updateConditions($this->input);
if (!isset($this->input['_skip_checks']) || !$this->input['_skip_checks']) {
$this->updateConditions($this->input);
}
}

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

/**
Expand Down

0 comments on commit 7f712bd

Please sign in to comment.