changed hidden check to displayable check

This commit is contained in:
Rudi Grinberg 2012-11-05 10:55:54 -05:00
parent 6e89fdab30
commit acf954f637
1 changed files with 2 additions and 2 deletions
airtime_mvc/application/models

View File

@ -373,8 +373,8 @@ SQL;
}
if (isset($obj)) {
if (($obj instanceof CcFiles && $obj->getDbFileExists() &&
!$obj->getDbHidden()) || $obj instanceof CcWebstream ||
if (($obj instanceof CcFiles && $obj->displayable())
|| $obj instanceof CcWebstream ||
$obj instanceof CcBlock) {
$entry = $this->plItem;