Skip to content

Commit

Permalink
* fix #1879 : HTTP Status not set to 500 for SOAP faults, fix by wm a…
Browse files Browse the repository at this point in the history
…t horde dot net

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/branches/ZEND_ENGINE_1@167026 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Arnaud Limbourg committed Aug 22, 2004
1 parent 44ff358 commit 91beb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server.php
Expand Up @@ -202,7 +202,7 @@ function service($data, $endpoint = '', $test = FALSE)

// make distinction between the different choice of installation,
// running php as cgi or as a module
if(stristr(php_sapi_name(),'cgi')==0)
if(stristr(php_sapi_name(),'cgi') === 0)
$hdrs_type = 'Status:';
else
$hdrs_type = 'HTTP/1.1';
Expand Down

0 comments on commit 91beb08

Please sign in to comment.