CRM-15180, added support for attachments and some wierd error fixes
authorkurund <kurund@civicrm.org>
Thu, 18 Dec 2014 20:43:26 +0000 (02:13 +0530)
committerkurund <kurund@civicrm.org>
Thu, 18 Dec 2014 20:43:26 +0000 (02:13 +0530)
----------------------------------------
* CRM-15180: Using the taglist style of the "contact" page for the "new contact" page
  https://issues.civicrm.org/jira/browse/CRM-15180

CRM/Activity/Form/Activity.php
CRM/Case/Form/Case.php
CRM/Core/BAO/File.php

index 0b5d13fcb2ae4002317a1e668943f5b38233b8e1..5251de5cca6321ad48e885f170a88e8ef9855840 100644 (file)
@@ -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,
       '&nbsp;&nbsp;', TRUE);
 
     if (!empty($tags)) {
index 07529edabf28acf30328b08bc16c29821f3e0350..70ee083b796961e854dff1bc822743d1a6d8fccd 100644 (file)
@@ -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,
       '&nbsp;&nbsp;', TRUE);
 
     if (!empty($tags)) {
index e888505821be16912434663044fb6d8e713f5749..660303a848673252d86501e3deb0fe35ef75f994 100644 (file)
@@ -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,
+      '&nbsp;&nbsp;', TRUE);
 
     // get tagset info
     $parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_file');