mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Check the status properly
This commit is contained in:
parent
42fe62541e
commit
51ec5ca6da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue