diff options
author | foobar <sniper@php.net> | 2005-09-02 13:51:26 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-09-02 13:51:26 +0000 |
commit | 0904130f118feb8ab8242c8a7c46a21c96b97676 (patch) | |
tree | 59f01cb94159fc4df4f54903ab307740942fe055 | |
parent | e720f444c04cafd56a775b9e310e23fe21358772 (diff) | |
download | php-git-0904130f118feb8ab8242c8a7c46a21c96b97676.tar.gz |
MFH
-rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index b1f56e431b..f0d84056f0 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -524,7 +524,7 @@ normal: } 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; } |