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:
c075e1b
)
Return FALSE instead of throwing Exception if package throws Exception
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 29 Oct 2019 04:26:57 +0000
(15:26 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sat, 9 Nov 2019 02:59:15 +0000
(13:59 +1100)
CRM/Utils/String.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/String.php
b/CRM/Utils/String.php
index 44c415336870d0465759d6a07f1b95b4d4fb6b2c..3dacacf16ec4b76b0d6a911d1924fb82757393b1 100644
(file)
--- a/
CRM/Utils/String.php
+++ b/
CRM/Utils/String.php
@@
-954,7
+954,7
@@
class CRM_Utils_String {
return unserialize($string);
}
catch (UnserializeFailedException $e) {
-
throw new CRM_Core_Exception($e->getMessage())
;
+
return FALSE
;
}
}