[Vtigercrm-commits] [vtiger-commits] r7752 - /vtigercrm/trunk/modules/CustomView/CustomView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 04:47:11 EDT 2006


Author: richie
Date: Tue Jul  4 02:47:07 2006
New Revision: 7752

Log:
attachments fields in HelpDesk has been escaped from customview

Modified:
    vtigercrm/trunk/modules/CustomView/CustomView.php

Modified: vtigercrm/trunk/modules/CustomView/CustomView.php
==============================================================================
--- vtigercrm/trunk/modules/CustomView/CustomView.php (original)
+++ vtigercrm/trunk/modules/CustomView/CustomView.php Tue Jul  4 02:47:07 2006
@@ -243,7 +243,9 @@
 			}
 			$fieldlabel1 = str_replace(" ","_",$fieldlabel);
 			$optionvalue = $fieldtablename.":".$fieldcolname.":".$fieldname.":".$module."_".$fieldlabel1.":".$fieldtypeofdata;
-			$module_columnlist[$optionvalue] = $fieldlabel;
+			//added to escape attachments fields in customview as we have multiple attachments
+			if($module != 'HelpDesk' || $fieldname !='filename')
+				$module_columnlist[$optionvalue] = $fieldlabel;
 			if($fieldtype[1] == "M")
 			{
 				$this->mandatoryvalues[] = "'".$optionvalue."'";





More information about the vtigercrm-commits mailing list