added check for hidden in buildEntry
This commit is contained in:
parent
800f8b9ded
commit
00a4e45491
|
@ -373,7 +373,10 @@ SQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($obj)) {
|
if (isset($obj)) {
|
||||||
if (($obj instanceof CcFiles && $obj->getDbFileExists()) || $obj instanceof CcWebstream || $obj instanceof CcBlock) {
|
if (($obj instanceof CcFiles && $obj->getDbFileExists() &&
|
||||||
|
!$obj->getDbHidden()) || $obj instanceof CcWebstream ||
|
||||||
|
$obj instanceof CcBlock) {
|
||||||
|
|
||||||
$entry = $this->plItem;
|
$entry = $this->plItem;
|
||||||
$entry["id"] = $obj->getDbId();
|
$entry["id"] = $obj->getDbId();
|
||||||
$entry["pos"] = $pos;
|
$entry["pos"] = $pos;
|
||||||
|
|
Loading…
Reference in New Issue