Update commonobject.class.php

This commit is contained in:
Laurent Destailleur 2020-06-06 21:47:27 +02:00 committed by GitHub
parent 38d95aa5cd
commit 261d0772f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7909,7 +7909,11 @@ abstract class CommonObject
$this->errors[] = $childObject->error;
break;
}
}
} else {
$error++;
$this->errors[] = "You defined a cascade delete on an object $childObject but there is no method deleteByParentField for it";
break;
}
} else {
$error++;
$this->errors[] = 'Cannot include child class file ' .$filePath;