Update commonobject.class.php
This commit is contained in:
parent
87806346c7
commit
bb192195f1
@ -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 New Issue
Block a user