diff options
author | David Rothstein <drothstein@gmail.com> | 2013-03-30 12:18:42 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-03-30 12:18:42 -0400 |
commit | 20a45b1117e28f4458fd72de81eb8ec0173d9b99 (patch) | |
tree | 20ec5e8ed302c320b77300e19ce11cf221b61a49 /includes | |
parent | a16de0db6608f8cd71ac9da475b4cd3d01600f12 (diff) | |
download | brdo-20a45b1117e28f4458fd72de81eb8ec0173d9b99.tar.gz brdo-20a45b1117e28f4458fd72de81eb8ec0173d9b99.tar.bz2 |
Issue #1605040 by TravisCarden, mitron | EdgarPE: Fixed drupal_send_headers() ignores headers with valid but falsy values.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index c6c98ecb6..acda75146 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1212,7 +1212,7 @@ function drupal_send_headers($default_headers = array(), $only_default = FALSE) header($_SERVER['SERVER_PROTOCOL'] . ' ' . $value); } // Skip headers that have been unset. - elseif ($value) { + elseif ($value !== FALSE) { header($header_names[$name_lower] . ': ' . $value); } } |