Update commonobject.class.php
This commit is contained in:
parent
87806346c7
commit
bb192195f1
1 changed files with 1 additions and 1 deletions
|
|
@ -7892,7 +7892,7 @@ abstract class CommonObject
|
|||
}
|
||||
|
||||
// Delete cascade first
|
||||
if (is_array($this->childtablesoncascade)) {
|
||||
if (is_array($this->childtablesoncascade) && !empty($this->childtablesoncascade)) {
|
||||
foreach ($this->childtablesoncascade as $table)
|
||||
{
|
||||
$deleteFromObject = explode(':', $table);
|
||||
|
|
|
|||
Loading…
Reference in a new issue