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 <tbugier@teclib.com>
btry committed Feb 4, 2021
1 parent 9869ccc commit 6f2e76f
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
@@ -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);
}
}

/**

0 comments on commit 6f2e76f

Please sign in to comment.