Index: branches/5.3.x/core/units/files/file_tp.php =================================================================== diff -u -N -r15483 -r15698 --- branches/5.3.x/core/units/files/file_tp.php (.../file_tp.php) (revision 15483) +++ branches/5.3.x/core/units/files/file_tp.php (.../file_tp.php) (revision 15698) @@ -1,6 +1,6 @@ getPrefixSpecial().'_event'] = 'OnDownloadFile'; - $params['pass'] = 'm,'.$this->Application->getUnitOption($this->Prefix, 'ParentPrefix').','.$this->getPrefixSpecial(); + $params[$this->getPrefixSpecial() . '_event'] = 'OnDownloadFile'; + $params['pass'] = 'm,' . $this->getUnitConfig()->getParentPrefix() . ',' . $this->getPrefixSpecial(); return $this->ItemLink($params); }