mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
This commit is contained in:
parent
cae85484fd
commit
173a75bdb2
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class Exception extends \Exception
|
|||
if ($response) {
|
||||
if (\in_array($code, array(301, 302, 303, 307))) {
|
||||
$message = $response->getRedirectLocation() . "\n" . $message;
|
||||
} else if (405 === $code && ($allow = $this->getHeader('allow'))) {
|
||||
} else if (405 === $code && ($allow = $response->getHeader('allow'))) {
|
||||
$message = (\is_array($allow) ? $allow[0] : $allow) . "\n" . $message;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue