From 85a76b66e783e2ac93aa7edc4c25ed8a8ccd1c66 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Mon, 17 Oct 2011 09:08:19 -0700 Subject: [PATCH] Oops. Correcting spacing error with previous patch. --- modules/file/file.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/file/file.module b/modules/file/file.module index 9fcdfe071ee7..5d7b17af555a 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; } -- GitLab