From e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Mar 2010 06:31:24 +0000 Subject: - Patch #732486 by Damien Tournoud, JacobSingh: drupal_add_http_header() req ; make Status a normal header and drupal_add_http() header shouldn't return a list of headers. --- authorize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'authorize.php') diff --git a/authorize.php b/authorize.php index 78de76ceb..ee2288944 100644 --- a/authorize.php +++ b/authorize.php @@ -39,7 +39,7 @@ define('MAINTENANCE_MODE', 'update'); * Render a 403 access denied page for authorize.php */ function authorize_access_denied_page() { - drupal_add_http_header('403 Forbidden'); + drupal_add_http_header('Status', '403 Forbidden'); watchdog('access denied', 'authorize.php', NULL, WATCHDOG_WARNING); drupal_set_title('Access denied'); return t('You are not allowed to access this page.'); -- cgit v1.2.3