summaryrefslogtreecommitdiff
path: root/authorize.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-06 06:31:24 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-06 06:31:24 +0000
commite1ce11dad0bb6377ffddaa5fb0b7174e406ba20c (patch)
tree6cdf49084a28fba8c6910a7e000f6708888858a4 /authorize.php
parent140cacba103e3241d24d24c8c1d06c760280261b (diff)
downloadbrdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.gz
brdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.bz2
- 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.
Diffstat (limited to 'authorize.php')
-rw-r--r--authorize.php2
1 files changed, 1 insertions, 1 deletions
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.');