Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
85a76b66
Commit
85a76b66
authored
Oct 17, 2011
by
webchick
Browse files
Oops. Correcting spacing error with previous patch.
parent
37f18786
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/file/file.module
View file @
85a76b66
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment