Problem s generovanim pdf souboru, ktery vychazi z latte

před 8 dny

AKozlovsky
Člen | 1
+
0
-

Ahoj, potreboval bych pomoc. Pri generovani pdf pomoci knihovny Pdfresponse mi vypisuje tato chyba – Undefined property: stdClass::$uiControl.

159:        <div class="file_list">
160:    <?php
161:                if ($files) {
162:                    $iterations = 0;
163:                    foreach ($files as $id => $file) {
164:    ?>
165:                    <div>
166:    <?php
167:                        if ($file->CanBeDownloaded) {
168:                            if ($file->CanBeDownloaded) {
169:                                ?>                    <a href="<?php echo LR\Filters::escapeHtmlAttr($this->global->uiControl->link("File:get", [$id])) ?>"><?php
170:                                echo LR\Filters::escapeHtmlText($file->TypeName) /* line 74 */ ?> (<?php echo LR\Filters::escapeHtmlText($file->FileName) /* line 74 */ ?>)</a>
171:    <?php
172:                            }
173:                        }