Closed argnist closed 11 years ago
You forgot to replace $tpl to $tplChunk in lines: $tplChunk = ltrim($tpl, ':'); $tplChunk = trim($tpl); ... $chunk = $this->modx->getParser()->getElement('modChunk', $tpl);
So with such binding no chunk can be found. https://github.com/goldsky/FileDownload-R/blob/master/core/components/filedownloadr/models/filedownload/filedownload.class.php
fixed here https://github.com/goldsky/FileDownload-R/commit/65becfc9bfe5a15201858d382b73515b0200a400
thx for reporting
You forgot to replace $tpl to $tplChunk in lines: $tplChunk = ltrim($tpl, ':'); $tplChunk = trim($tpl); ... $chunk = $this->modx->getParser()->getElement('modChunk', $tpl);
So with such binding no chunk can be found. https://github.com/goldsky/FileDownload-R/blob/master/core/components/filedownloadr/models/filedownload/filedownload.class.php