CRM-15323 fix - On log mode case type info is not present against its case
authormonishdeb <monish.deb@webaccessglobal.com>
Wed, 17 Sep 2014 11:26:47 +0000 (16:56 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 17 Sep 2014 11:26:47 +0000 (16:56 +0530)
https://issues.civicrm.org/jira/browse/CRM-15323

CRM/Logging/ReportSummary.php

index b8dd138b67319bccb02407ee96e846070bb8cee4..0e1a38125432b3560b019ffdd9b4063d204ece41 100644 (file)
@@ -381,11 +381,6 @@ SELECT {$this->_logTables[$entity]['bracket_info']['entity_column']}
         $entityID = $id;
       }
 
-      // since case_type_id is a varchar field with separator
-      if ($entity == 'log_civicrm_case') {
-        $entityID = explode(CRM_Case_BAO_Case::VALUE_SEPARATOR, $entityID);
-        $entityID = CRM_Utils_Array::value(1, $entityID);
-      }
 
       if ($entityID && $logDate && array_key_exists('table', $this->_logTables[$entity]['bracket_info'])) {
         $sql = "