Commit 399302a2 authored by Dries's avatar Dries
Browse files

- Patch #40599 by Chris: minor code improvement: removed redundant isset().

parent db1e1b53
......@@ -491,7 +491,7 @@ function file_download() {
if (empty($headers)) {
drupal_access_denied();
}
elseif (isset($headers) && is_array($headers)) {
elseif (is_array($headers)) {
file_transfer($file, $headers);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment