1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

Check the status properly

This commit is contained in:
foobar
2005-09-02 13:50:39 +00:00
parent 42fe62541e
commit 51ec5ca6da
+1 -1
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;
}