From 03e56b59affc6bd3f2b7a6773f231309ac5c9cf3 Mon Sep 17 00:00:00 2001
From: Jerenus <jun.zheng@insready.com>
Date: Thu, 29 Nov 2012 01:34:09 +0800
Subject: [PATCH] Issue #1853050 by Jerenus: Fixed typo in bootstrap.inc.

---
 includes/bootstrap.inc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 74853b2..e533c24 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1188,13 +1188,13 @@ function _drupal_set_preferred_header_name($name = NULL) {
  *
  * @param $default_headers
  *   An array of headers as name/value pairs.
- * @param $single
+ * @param $default_single
  *   If TRUE and headers have already be sent, send only the specified header.
  */
-function drupal_send_headers($default_headers = array(), $only_default = FALSE) {
+function drupal_send_headers($default_headers = array(), $default_single = FALSE) {
   $headers_sent = &drupal_static(__FUNCTION__, FALSE);
   $headers = drupal_get_http_header();
-  if ($only_default && $headers_sent) {
+  if ($default_single && $headers_sent) {
     $headers = array();
   }
   $headers_sent = TRUE;
-- 
1.7.10.4

