From: jitendrapurohit Date: Tue, 7 Apr 2015 09:53:31 +0000 (+0530) Subject: Activity details truncated in activity report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=34e0bdb655f0994de55257e2fd04ad419721924f;p=civicrm-core.git Activity details truncated in activity report --- 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), ' '));