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:
c1fec14
)
fix error to throw Exception
author
unknown
<eileen@fuzion.co.nz>
Fri, 13 Sep 2013 01:29:08 +0000
(13:29 +1200)
committer
unknown
<eileen@fuzion.co.nz>
Fri, 13 Sep 2013 01:29:08 +0000
(13:29 +1200)
api/v3/Profile.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Profile.php
b/api/v3/Profile.php
index 2f87ce352664b1da9846230139c1a16b0cb583f2..aefd89c317ebf18f2be6a63c25e77fcc6b1a79bf 100644
(file)
--- a/
api/v3/Profile.php
+++ b/
api/v3/Profile.php
@@
-346,7
+346,7
@@
function civicrm_api3_profile_apply($params) {
);
if (empty($data)) {
-
return civicrm_api3_create_error
('Enable to format profile parameters.');
+
throw new API_Exception
('Enable to format profile parameters.');
}
return civicrm_api3_create_success($data);