The function drupal_add_http_header() calls drupal_send_headers() so the second call to drupal_send_headers() is superfluous.

CommentFileSizeAuthor
#1 deduplicate-function-call-2148775-1.patch498 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new498 bytes

Here is the patch with the second call to drupal_send_headers() removed.

Version: 7.24 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.