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:
9f18377
)
CRM-13227, CRM-14744: full fix
author
Nicolas Ganivet
<nicolas@cividesk.com>
Mon, 6 Oct 2014 21:53:24 +0000
(15:53 -0600)
committer
Nicolas Ganivet
<nicolas@cividesk.com>
Mon, 6 Oct 2014 21:59:07 +0000
(15:59 -0600)
CRM/Utils/System.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System.php
b/CRM/Utils/System.php
index 94fc2b69b93aa79a6d158edf10cc7981e1c0e000..2aef7f37258190dad4dcbc34b56687fe6e63ea8d 100644
(file)
--- a/
CRM/Utils/System.php
+++ b/
CRM/Utils/System.php
@@
-981,7
+981,8
@@
class CRM_Utils_System {
// lets capture the return stuff rather than echo
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
- return curl_exec($ch);
+ // CRM-13227, CRM-14744: only return the SSL error status
+ return (curl_exec($ch) !== FALSE);
}
/**