sniper          Mon Mar 19 17:42:40 2001 EDT

  Modified files:              (Branch: PHP_4_0_5)
    /php4/main  SAPI.c 
  Log:
  MFH
  
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.100.2.1 php4/main/SAPI.c:1.100.2.2
--- php4/main/SAPI.c:1.100.2.1  Sat Mar 17 18:36:27 2001
+++ php4/main/SAPI.c    Mon Mar 19 17:42:40 2001
@@ -97,7 +97,7 @@
 
 SAPI_API void sapi_handle_post(void *arg SLS_DC)
 {
-       if (SG(request_info).post_entry) {
+       if (SG(request_info).post_entry && SG(request_info).content_type_dup) {
                
SG(request_info).post_entry->post_handler(SG(request_info).content_type_dup, arg 
SLS_CC);
                if (SG(request_info).post_data) {
                        efree(SG(request_info).post_data);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to