diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-31 14:47:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-31 14:47:38 +0000 |
commit | 24ef7261d523155ee1c58e8297516e726b4ce80b (patch) | |
tree | dfdb6b1ef7be64237e19b70d7954f149789a72f7 /mod/file/thumbnail.php | |
parent | b4bd662414f2d49f238bf0fabf05878d9d967877 (diff) | |
download | elgg-24ef7261d523155ee1c58e8297516e726b4ce80b.tar.gz elgg-24ef7261d523155ee1c58e8297516e726b4ce80b.tar.bz2 |
a little standardization of the file plugin code
git-svn-id: http://code.elgg.org/elgg/trunk@7789 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/thumbnail.php')
-rw-r--r-- | mod/file/thumbnail.php | 7 |
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 |