-
This commit is contained in:
@@ -9,6 +9,10 @@ class ConstructionConsentOwner extends mfBaseModel {
|
||||
|
||||
protected function afterSave() {
|
||||
$this->createHistory();
|
||||
if($this->data->status !== 'new' && $this->data->result === null) {
|
||||
$this->data->result = 'open';
|
||||
$this->save();
|
||||
}
|
||||
}
|
||||
|
||||
protected function beforeDelete() {
|
||||
|
||||
Reference in New Issue
Block a user