[Vtigercrm-commits] [vtiger-commits] r7753 - /vtigercrm/trunk/modules/Reports/Reports.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jul 4 04:53:33 EDT 2006


Author: richie
Date: Tue Jul  4 02:53:30 2006
New Revision: 7753

Log:
attachments fields in HelpDesk has been escaped from Reports

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

Modified: vtigercrm/trunk/modules/Reports/Reports.php
==============================================================================
--- vtigercrm/trunk/modules/Reports/Reports.php (original)
+++ vtigercrm/trunk/modules/Reports/Reports.php Tue Jul  4 02:53:30 2006
@@ -375,7 +375,9 @@
 			$fieldlabel = $adb->query_result($result,$i,"fieldlabel");
 			$fieldlabel1 = str_replace(" ","_",$fieldlabel);
 			$optionvalue = $fieldtablename.":".$fieldcolname.":".$module."_".$fieldlabel1.":".$fieldname.":".$fieldtypeofdata;
-			$module_columnlist[$optionvalue] = $fieldlabel;
+			//added to escape attachments fields in Reports as we have multiple attachments
+                        if($module != 'HelpDesk' || $fieldname !='filename')
+				$module_columnlist[$optionvalue] = $fieldlabel;
 		}
 		$log->info("Reports :: FieldColumns->Successfully returned ColumnslistbyBlock".$module.$block);
 		return $module_columnlist;





More information about the vtigercrm-commits mailing list