From d548e9b4e450212cb09884b3a346522d77bec6b6 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 17 Oct 2011 09:08:32 -0700 Subject: Oops. Correcting spacing error with previous patch. --- modules/file/file.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/file/file.module b/modules/file/file.module index 9fcdfe071..5d7b17af5 100644 --- a/modules/file/file.module +++ b/modules/file/file.module @@ -147,8 +147,7 @@ function file_file_download($uri, $field_type = 'file') { // temporary files where the host entity has not yet been saved (for example, // an image preview on a node/add form) in which case, allow download by the // file's owner. - - if(empty($references) && ($file->status == FILE_STATUS_PERMANENT || $file->uid != $user->uid)) { + if (empty($references) && ($file->status == FILE_STATUS_PERMANENT || $file->uid != $user->uid)) { return; } -- cgit v1.2.3