diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-17 09:08:32 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-17 09:08:32 -0700 |
commit | d548e9b4e450212cb09884b3a346522d77bec6b6 (patch) | |
tree | d0970a5a28e16b4ede0864ce76a7013e376f36f6 | |
parent | 79346644a3e844076d36cec7132c501a2cd0f02c (diff) | |
download | brdo-d548e9b4e450212cb09884b3a346522d77bec6b6.tar.gz brdo-d548e9b4e450212cb09884b3a346522d77bec6b6.tar.bz2 |
Oops. Correcting spacing error with previous patch.
-rw-r--r-- | modules/file/file.module | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |