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 #455 from eileenmcnaughton/4.3
[civicrm-core.git]
/
api
/
v3
/
Event.php
diff --git
a/api/v3/Event.php
b/api/v3/Event.php
index 04a9ab25ab30a5137484999424be2b23fb4869ff..569456efe103c42e64a37ffd278ebaa0efadc8ab 100644
(file)
--- a/
api/v3/Event.php
+++ b/
api/v3/Event.php
@@
-143,7
+143,7
@@
function civicrm_api3_event_get($params) {
if (CRM_Utils_Array::value('is_template', $params)) {
$eventDAO->whereAdd( '( is_template = 1 )' );
}
- else
{
+ else
if(empty($eventDAO->id))
{
$eventDAO->whereAdd('( is_template IS NULL ) OR ( is_template = 0 )');
}