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:
760dd37
)
Civi\CCase\Events - Fix test regressions
author
Tim Otten
<totten@civicrm.org>
Fri, 30 May 2014 20:34:40 +0000
(13:34 -0700)
committer
Tim Otten
<totten@civicrm.org>
Fri, 30 May 2014 20:34:40 +0000
(13:34 -0700)
Civi/CCase/Events.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/CCase/Events.php
b/Civi/CCase/Events.php
index 9c5c10c588758508d51b306f12193c588adc6f3b..85b633682048d3f337e1540079b776632ad720a4 100644
(file)
--- a/
Civi/CCase/Events.php
+++ b/
Civi/CCase/Events.php
@@
-44,7
+44,7
@@
class Events {
$caseId = NULL;
switch ($event->entity) {
case 'Activity':
- if (
$event->object->case_id
) {
+ if (
!empty($event->object->case_id)
) {
$caseId = $event->object->case_id;
}
break;