From 34e0bdb655f0994de55257e2fd04ad419721924f Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Tue, 7 Apr 2015 15:23:31 +0530 Subject: [PATCH] Activity details truncated in activity report --- CRM/Report/Form/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Report/Form/Activity.php b/CRM/Report/Form/Activity.php index fe481d98b9..938378981e 100644 --- a/CRM/Report/Form/Activity.php +++ b/CRM/Report/Form/Activity.php @@ -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), ' ')); -- 2.25.1