added check for hidden in buildEntry

This commit is contained in:
Rudi Grinberg 2012-11-05 09:54:00 -05:00
parent a62e64969d
commit 311c88a8a2
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ SQL;
{
$file = CcFilesQuery::create()->findPK($p_item, $this->con);
if (isset($file) && $file->getDbFileExists()) {
if (isset($file) && $file->getDbFileExists() && !$file->getDbHidden()) {
$entry = $this->blockItem;
$entry["id"] = $file->getDbId();
$entry["pos"] = $pos;