projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869df5f
)
HttpClient - Fix bad return format
author
Tim Otten
<totten@civicrm.org>
Wed, 8 May 2013 19:26:04 +0000
(12:26 -0700)
committer
Tim Otten
<totten@civicrm.org>
Wed, 8 May 2013 19:26:04 +0000
(12:26 -0700)
CRM/Utils/HttpClient.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/HttpClient.php
b/CRM/Utils/HttpClient.php
index 6aaa9d026e9de6339a40b67748e26e22bc747533..1c3b10ab5d823a14a097ded43e9c816e2acb0a95 100644
(file)
--- a/
CRM/Utils/HttpClient.php
+++ b/
CRM/Utils/HttpClient.php
@@
-129,7
+129,7
@@
class CRM_Utils_HttpClient {
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
if (curl_errno($ch)) {
- return array(self::STATUS_DL_ERROR
.
$data);
+ return array(self::STATUS_DL_ERROR
,
$data);
}
else {
curl_close($ch);
@@
-165,7
+165,7
@@
class CRM_Utils_HttpClient {
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
$data = curl_exec($ch);
if (curl_errno($ch)) {
- return array(self::STATUS_DL_ERROR
.
$data);
+ return array(self::STATUS_DL_ERROR
,
$data);
}
else {
curl_close($ch);