mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Error fixes
This commit is contained in:
parent
d04d44c518
commit
eab7e8dc66
@ -1630,15 +1630,20 @@ class Tree {
|
|||||||
if (!empty($processed_items)) {
|
if (!empty($processed_items)) {
|
||||||
if (!empty($this->filter["groupID"])) {
|
if (!empty($this->filter["groupID"])) {
|
||||||
$result = self::extractItemWithID($processed_items, $this->filter["groupID"], "group");
|
$result = self::extractItemWithID($processed_items, $this->filter["groupID"], "group");
|
||||||
$processed_items = array($result);
|
|
||||||
|
if ($processed_items === false)
|
||||||
|
$processed_items = array();
|
||||||
|
else
|
||||||
|
$processed_items = array($result);
|
||||||
}
|
}
|
||||||
else if (!empty($this->filter["tagID"])) {
|
else if (!empty($this->filter["tagID"])) {
|
||||||
$result = self::extractItemWithID($processed_items, $this->filter["tagID"], "tag");
|
$result = self::extractItemWithID($processed_items, $this->filter["tagID"], "tag");
|
||||||
$processed_items = array($result);
|
|
||||||
|
if ($processed_items === false)
|
||||||
|
$processed_items = array();
|
||||||
|
else
|
||||||
|
$processed_items = array($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($processed_items === false)
|
|
||||||
$processed_items = array();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Agents
|
// Agents
|
||||||
@ -1736,6 +1741,8 @@ class Tree {
|
|||||||
|
|
||||||
if ($processed_items === false)
|
if ($processed_items === false)
|
||||||
$processed_items = array();
|
$processed_items = array();
|
||||||
|
else
|
||||||
|
$processed_items = array($result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Agents
|
// Agents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user