aboutsummaryrefslogtreecommitdiff
path: root/app/views/files/_fileref_tr.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/files/_fileref_tr.php')
-rw-r--r--app/views/files/_fileref_tr.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/files/_fileref_tr.php b/app/views/files/_fileref_tr.php
index f282f79..fc486ae 100644
--- a/app/views/files/_fileref_tr.php
+++ b/app/views/files/_fileref_tr.php
@@ -75,7 +75,7 @@ if ($file->isDownloadable($GLOBALS['user']->id)) {
data-sort-value="<?= htmlReady($file->getAdditionalColumnOrderWeigh($index)) ?>">
<? $content = $file->getContentForAdditionalColumn($index) ?>
<? if ($content) : ?>
- <?= is_a($content, "Flexi_Template") ? $content->render() : $content ?>
+ <?= $content instanceof Flexi\Template ? $content->render() : $content ?>
<? endif ?>
</td>
<? endforeach ?>