CRM-21054 - Fix is_create_activities param for fetch_activities job (#10846)
authorJitendra Purohit <jitendra@fuzion.co.nz>
Sat, 12 Aug 2017 18:17:32 +0000 (23:47 +0530)
committerEileen McNaughton <eileen@mcnaughty.com>
Sat, 12 Aug 2017 18:17:32 +0000 (14:17 -0400)
* Fix is_create_activities param for fetch_activities

* set create activity to always be true

CRM/Utils/Mail/EmailProcessor.php

index e06c25749481400558c15ab7456285b5cbc04ffa..f08fa56272e525539ede4beb1770a2691fac617c 100644 (file)
@@ -98,7 +98,7 @@ class CRM_Utils_Mail_EmailProcessor {
     $found = FALSE;
     while ($dao->fetch()) {
       $found = TRUE;
-      self::_process(FALSE, $dao, $is_create_activities);
+      self::_process(FALSE, $dao, TRUE);
     }
     if (!$found) {
       CRM_Core_Error::fatal(ts('No mailboxes have been configured for Email to Activity Processing'));