Update commonobject.class.php

This commit is contained in:
Laurent Destailleur 2024-03-11 16:13:11 +01:00 committed by GitHub
parent 1178b858d8
commit 769b682fd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3281,7 +3281,7 @@ abstract class CommonObject
while ($row = $this->db->fetch_row($resql)) {
$rows[] = $row[0];
if ($includealltree) {
$rows = array_merge($rows, $this->getChildrenOfLine($row[0]));
$rows = array_merge($rows, $this->getChildrenOfLine($row[0], $includealltree));
}
}
}