projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #15365 from samuelsov/userdashboard
[civicrm-core.git]
/
CRM
/
Utils
/
API
/
MatchOption.php
diff --git
a/CRM/Utils/API/MatchOption.php
b/CRM/Utils/API/MatchOption.php
index 408dd3b8f493767efa199df15c0a57e45a5034ab..0f0cdc8170af64af0ec1d922bb010b646fdf0bac 100644
(file)
--- a/
CRM/Utils/API/MatchOption.php
+++ b/
CRM/Utils/API/MatchOption.php
@@
-153,7
+153,8
@@
class CRM_Utils_API_MatchOption implements API_Wrapper {
if ($isMandatory) {
throw new API_Exception("Failed to match existing record");
}
- return $createParams; // OK, don't care
+ // OK, don't care
+ return $createParams;
}
elseif ($getResult['count'] == 1) {
$item = array_shift($getResult['values']);