Update commonobject.class.php
This commit is contained in:
parent
38d95aa5cd
commit
261d0772f8
@ -7909,7 +7909,11 @@ abstract class CommonObject
|
|||||||
$this->errors[] = $childObject->error;
|
$this->errors[] = $childObject->error;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
$error++;
|
||||||
|
$this->errors[] = "You defined a cascade delete on an object $childObject but there is no method deleteByParentField for it";
|
||||||
|
break;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$error++;
|
$error++;
|
||||||
$this->errors[] = 'Cannot include child class file ' .$filePath;
|
$this->errors[] = 'Cannot include child class file ' .$filePath;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user