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:
e3470b7
)
event api fix for id only
author
eileen
<eileen@fuzion.co.nz>
Wed, 10 Apr 2013 21:38:33 +0000
(09:38 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Wed, 10 Apr 2013 21:38:33 +0000
(09:38 +1200)
api/v3/Event.php
patch
|
blob
|
blame
|
history
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 )');
}