X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_BaseResponse.php;fp=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_BaseResponse.php;h=bd7524890de030d6f633c3fd2de06423fd691750;hp=7fdbebb484a2d93f1066a32c0dfc03816625e981;hb=25f3d336c291b783f803f0795a610a509fcbaf54;hpb=4075d9e3be447a2fbc7178700ac24fe21cf0738a diff --git a/inc/classes/main/response/class_BaseResponse.php b/inc/classes/main/response/class_BaseResponse.php index 7fdbebb4..bd752489 100644 --- a/inc/classes/main/response/class_BaseResponse.php +++ b/inc/classes/main/response/class_BaseResponse.php @@ -181,7 +181,7 @@ class BaseResponse extends BaseFrameworkSystem { } // Are there some error messages? - if ($this->countGenericArrayElements('fatal_messages', 'generic', 'message') == 0) { + if ((!$this->isValidGenericArrayKey('fatal_messages', 'generic', 'message')) || ($this->countGenericArrayElements('fatal_messages', 'generic', 'message') == 0)) { // Flush the output to the world $this->getWebOutputInstance()->output($this->responseBody); } else {