PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #6896

Server.php uses single quotes instead of double quotas

Details

Submitted2006-02-22 19:38 UTC
Frompear at spam dot lalamuhkuh dot de
Assignedyunosh
StatusBogus
PackageSOAP
PHP Version5.1.1
Roadmaps(Not assigned)

Comments

[2006-02-22 19:38 UTC] pear at spam dot lalamuhkuh dot de

Description:
------------
SOAP/Server.php contains a simple bug. Here's the fix:

--- SOAP/Server.php 2006-01-17 00:27:33.000000000 +0100
+++ SOAP/Server.php 2006-02-22 20:34:55.000000000 +0100
@@ -256,10 +256,10 @@
}

if ($this->fault) {
- $hdrs = '$hdrs_type ' . $this->__options['http_status_fault'] . "\r\n";
+ $hdrs = "$hdrs_type " . $this->__options['http_status_fault'] . "\r\n";
$response = $this->fault->message();
} else {
- $hdrs = '$hdrs_type ' . $this->__options['http_status_success'] . "\r\n";
+ $hdrs = "$hdrs_type " . $this->__options['http_status_success'] . "\r\n";
}
header($hdrs);