diff --git a/inc/section.class.php b/inc/section.class.php index 910ea5ab9..f2c7029b7 100644 --- a/inc/section.class.php +++ b/inc/section.class.php @@ -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); + } } /**