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
399302a2
Commit
399302a2
authored
Jan 05, 2006
by
Dries
Browse files
- Patch
#40599
by Chris: minor code improvement: removed redundant isset().
parent
db1e1b53
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/file.inc
View file @
399302a2
...
@@ -491,7 +491,7 @@ function file_download() {
...
@@ -491,7 +491,7 @@ function file_download() {
if
(
empty
(
$headers
))
{
if
(
empty
(
$headers
))
{
drupal_access_denied
();
drupal_access_denied
();
}
}
elseif
(
isset
(
$headers
)
&&
is_array
(
$headers
))
{
elseif
(
is_array
(
$headers
))
{
file_transfer
(
$file
,
$headers
);
file_transfer
(
$file
,
$headers
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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