diff --git a/library/Icinga/Exception/Http/BaseHttpException.php b/library/Icinga/Exception/Http/BaseHttpException.php index 225e9583f..781fa906d 100644 --- a/library/Icinga/Exception/Http/BaseHttpException.php +++ b/library/Icinga/Exception/Http/BaseHttpException.php @@ -69,6 +69,6 @@ class BaseHttpException extends IcingaException implements HttpExceptionInterfac */ public function getHeaders() { - return $this->headers; + return $this->headers ?: array(); } }