diff --git a/webui/controller/policy/archiving.php b/webui/controller/policy/archiving.php index 6db0ce89..c4d8532c 100644 --- a/webui/controller/policy/archiving.php +++ b/webui/controller/policy/archiving.php @@ -29,7 +29,7 @@ class ControllerPolicyArchiving extends Controller { } if($_SERVER['REQUEST_METHOD'] == 'POST') { - if($this->validate == true) { + if($this->validate() == true) { $rc = $this->model_policy_archiving->add_new_rule($this->request->post); } else { $this->data['error'] = $lang->data['text_invalid_data'];