Check the status properly

This commit is contained in:
foobar 2005-09-02 13:50:39 +00:00
parent 42fe62541e
commit 51ec5ca6da

View file

@ -538,7 +538,7 @@ zend_first_try {
} else {
parent_req = ctx->r;
/* check if comming due to ErrorDocument */
if (parent_req != HTTP_OK) {
if (parent_req && parent_req->status != HTTP_OK) {
parent_req = NULL;
goto normal;
}