Skip to content
Snippets Groups Projects
Commit 7467081f authored by eileen's avatar eileen
Browse files

event api fix for id only

parent e3470b79
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