Skip to content

Commit

Permalink
Status should just be a number
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed May 3, 2017
1 parent 673ee22 commit d08e9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/application/web.php
Expand Up @@ -565,7 +565,7 @@ public function redirect($url, $status = 303)
}

// All other cases use the more efficient HTTP header for redirection.
$this->setHeader('Status', $this->responseMap[$status], true);
$this->setHeader('Status', $status, true);
$this->setHeader('Location', $url, true);
}
}
Expand Down

0 comments on commit d08e9f1

Please sign in to comment.