Skip to content
Snippets Groups Projects
Commit fea42c98 authored by colemanw's avatar colemanw
Browse files

Merge pull request #376 from eileenmcnaughton/4.3

event api fix for id only
parents 6813003c 7467081f
Branches
Tags
No related merge requests found
......@@ -143,7 +143,7 @@ function civicrm_api3_event_get($params) {
if (CRM_Utils_Array::value('is_template', $params)) {
$eventDAO->whereAdd( '( is_template = 1 )' );
}
else {
elseif(empty($eventDAO->id)){
$eventDAO->whereAdd('( is_template IS NULL ) OR ( is_template = 0 )');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment