aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/file.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/file.php b/app/controllers/file.php
index 26bf47a..1141f00 100644
--- a/app/controllers/file.php
+++ b/app/controllers/file.php
@@ -499,6 +499,8 @@ class FileController extends AuthenticatedController
$filetype = $file_ref->getFileType();
$this->file = $filetype->convertToStandardFile();
+ $this->icon_shape = $this->file->getIcon(Icon::ROLE_INFO)->getShape();
+
$this->author = $file_ref->owner->username;
$this->author_fullname = $file_ref->owner->getFullName('no_title');
$this->link_to_share = URLHelper::getURL("dispatch.php/file/share_oer/" . $file_ref_id);