summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-01 14:41:35 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-01 14:41:35 -0400
commit88bcef127ffb5b906f4196977b64cd096126b946 (patch)
treeabb5c38a0567dfb9af37c68801832b8bb56e9335 /lib
parent1bdff9626cf186a7d114139bd4df7aec9401b4de (diff)
parent3bec08c878d50cfa43ffb72466842bda5dd88171 (diff)
Merge branch 'master' into 0.7.x
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 98a3ae844..f08e70754 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -850,7 +850,7 @@ function common_redirect($url, $code=307)
303 => "See Other",
307 => "Temporary Redirect");
- header("Status: ${code} $status[$code]");
+ header('HTTP/1.1 '.$code.' '.$status[$code]);
header("Location: $url");
$xo = new XMLOutputter();