1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00

Minor unrelated updates

This commit is contained in:
Ryan Cramer
2021-08-06 14:21:27 -04:00
parent 9e23967b12
commit f39d836bf1
2 changed files with 2 additions and 2 deletions

View File

@@ -1313,7 +1313,7 @@ class Session extends Wire implements \IteratorAggregate {
// note for 302 redirects we send no header other than 'Location: url'
$http = new WireHttp();
$this->wire($http);
if($status != 302) $http->sendStatusHeader($status);
$http->sendStatusHeader($status);
$http->sendHeader("Location: $url");
exit(0);