summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-01 14:40:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-01 14:40:58 -0400
commit3bec08c878d50cfa43ffb72466842bda5dd88171 (patch)
treeabb5c38a0567dfb9af37c68801832b8bb56e9335 /lib/util.php
parent783d292739886811ab41215c614940d24214358f (diff)
parente7381493ad036e686f82f432066f00ff911ad5d5 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev
Conflicts: README lib/router.php
Diffstat (limited to 'lib/util.php')
-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();