Home » Web Services » SOAP » Bug #6896
Server.php uses single quotes instead of double quotas
Details
| Submitted | 2006-02-22 19:38 UTC |
|---|---|
| From | pear at spam dot lalamuhkuh dot de |
| Assigned | yunosh |
| Status | Bogus |
| Package | SOAP |
| PHP Version | 5.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);