[Vtigercrm-commits] [vtiger-commits] r11122 - /vtigercrm/branches/5.0.3/include/RelatedListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 29 07:49:09 EDT 2007


Author: jerrydgeorge
Date: Tue May 29 05:49:01 2007
New Revision: 11122

Log:
Filename Issue in Attachments has been fixed

Modified:
    vtigercrm/branches/5.0.3/include/RelatedListView.php

Modified: vtigercrm/branches/5.0.3/include/RelatedListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/RelatedListView.php (original)
+++ vtigercrm/branches/5.0.3/include/RelatedListView.php Tue May 29 05:49:01 2007
@@ -314,7 +314,7 @@
 			$row['description'] = substr($row['description'],0,40).'...';
 		}
 		$entries[] = nl2br($row['description']); 
-		$attachmentname = ltrim($row['filename'],$row['attachmentsid'].'_');//explode('_',$row['filename'],2);
+		$attachmentname = $row['filename'];//explode('_',$row['filename'],2);
 
 		$entries[] = '<a href="index.php?module=uploads&action=downloadfile&entityid='.$id.'&fileid='.$row['attachmentsid'].'">'.$attachmentname.'</a>';
 





More information about the vtigercrm-commits mailing list