aboutsummaryrefslogtreecommitdiff
path: root/mod/file/thumbnail.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/thumbnail.php')
-rw-r--r--mod/file/thumbnail.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/file/thumbnail.php b/mod/file/thumbnail.php
index 987153aeb..4da560a6c 100644
--- a/mod/file/thumbnail.php
+++ b/mod/file/thumbnail.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Elgg file thumbnail
*
@@ -10,10 +9,10 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
// Get file GUID
-$file_guid = (int) get_input('file_guid',0);
+$file_guid = (int) get_input('file_guid', 0);
// Get file thumbnail size
-$size = get_input('size','small');
+$size = get_input('size', 'small');
// Get file entity
if ($file = get_entity($file_guid)) {
@@ -62,5 +61,3 @@ if ($file = get_entity($file_guid)) {
}
}
-
-?> \ No newline at end of file