Commit e0f9d6a2 authored by Kurund Jalmi's avatar Kurund Jalmi

CRM-15180, added support for attachments and some wierd error fixes

----------------------------------------
* CRM-15180: Using the taglist style of the "contact" page for the "new contact" page
  https://issues.civicrm.org/jira/browse/CRM-15180
parent 711da13f
......@@ -738,8 +738,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
$this->assign('customDataSubType', $this->_activityTypeId);
$this->assign('entityID', $this->_activityId);
$tags = CRM_Core_BAO_Tag::getTags('civicrm_activity',
CRM_Core_DAO::$_nullArray, NULL,
CRM_Core_BAO_Tag::getTags('civicrm_activity', $tags, NULL,
'  ', TRUE);
if (!empty($tags)) {
......
......@@ -266,8 +266,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
'maxlength' => '128')), TRUE
);
$tags = CRM_Core_BAO_Tag::getTags('civicrm_case',
CRM_Core_DAO::$_nullArray, NULL,
CRM_Core_BAO_Tag::getTags('civicrm_case', $tags, NULL,
'  ', TRUE);
if (!empty($tags)) {
......
......@@ -419,7 +419,8 @@ AND CEF.entity_id = %2";
$form->assign('numAttachments', $numAttachments);
$tags = CRM_Core_BAO_Tag::getTags('civicrm_file');
CRM_Core_BAO_Tag::getTags('civicrm_file', $tags, NULL,
'  ', TRUE);
// get tagset info
$parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_file');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment