[Vtigercrm-commits] [vtiger-commits] r7581 - /vtigercrm/trunk/include/utils/DetailViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 10:37:03 EDT 2006


Author: richie
Date: Tue Jun 27 08:37:00 2006
New Revision: 7581

Log:
issue in Emails detailview attachments has been fixed

Modified:
    vtigercrm/trunk/include/utils/DetailViewUtils.php

Modified: vtigercrm/trunk/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/DetailViewUtils.php Tue Jun 27 08:37:00 2006
@@ -355,7 +355,7 @@
 				$attach_result = $adb->query("select * from vtiger_seattachmentsrel where crmid = ".$col_fields['record_id']);
 				for($ii=0;$ii < $adb->num_rows($attach_result);$ii++)
 				{
-					$attachmentid = $adb->query_result($attach_result,0,'attachmentsid');
+					$attachmentid = $adb->query_result($attach_result,$ii,'attachmentsid');
 					if($attachmentid != '')
 					{
 						$attachquery = "select * from vtiger_attachments where attachmentsid=".$attachmentid;





More information about the vtigercrm-commits mailing list