Update commonobject.class.php
This commit is contained in:
parent
d2a364eea8
commit
a44f5376da
@ -2544,7 +2544,6 @@ abstract class CommonObject
|
|||||||
{
|
{
|
||||||
if ($this->db->num_rows($resql) > 0) {
|
if ($this->db->num_rows($resql) > 0) {
|
||||||
while ($row = $this->db->fetch_row($resql)) {
|
while ($row = $this->db->fetch_row($resql)) {
|
||||||
|
|
||||||
$rows[] = $row[0];
|
$rows[] = $row[0];
|
||||||
if (!empty($includealltree)) $rows = array_merge($rows, $this->getChildrenOfLine($row[0]), $includealltree);
|
if (!empty($includealltree)) $rows = array_merge($rows, $this->getChildrenOfLine($row[0]), $includealltree);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user