Activity details truncated in activity report
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 7 Apr 2015 09:53:31 +0000 (15:23 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 7 Apr 2015 09:53:31 +0000 (15:23 +0530)
CRM/Report/Form/Activity.php

index fe481d98b98ada1f9d93977aa90e8da3f4a4d399..938378981ea803474ce3e3d3de81e5d1c79cf1ef 100644 (file)
@@ -898,7 +898,7 @@ GROUP BY civicrm_activity_id {$this->_having} {$this->_orderBy} {$this->_limit}"
         }
       }
 
-      if (array_key_exists('civicrm_activity_details', $row)) {
+      if (array_key_exists('civicrm_activity_details', $row) && $this->_outputMode == 'html') {
         if ($value = $row['civicrm_activity_details']) {
           $fullDetails = $rows[$rowNum]['civicrm_activity_details'];
           $rows[$rowNum]['civicrm_activity_details'] = substr($fullDetails, 0, strrpos(substr($fullDetails, 0, 80), ' '));