[Vtigercrm-commits] [vtiger-commits] r6490 - /vtigercrm/trunk/modules/Webmails/WebmailsAjax.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 26 13:47:17 EDT 2006
Author: mmbrich
Date: Fri May 26 11:47:16 2006
New Revision: 6490
Log:
fixed attachment notification
Modified:
vtigercrm/trunk/modules/Webmails/WebmailsAjax.php
Modified: vtigercrm/trunk/modules/Webmails/WebmailsAjax.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/WebmailsAjax.php (original)
+++ vtigercrm/trunk/modules/Webmails/WebmailsAjax.php Fri May 26 11:47:16 2006
@@ -57,9 +57,9 @@
$ret .= '"date":"'.$data[$i]->date.'",';
$ret .= '"from":"'.$data[$i]->from.'",';
if(sizeof($part->parts) >0)
+ $ret .= '"attachments":"1"}';
+ else
$ret .= '"attachments":"0"}';
- else
- $ret .= '"attachments":"1"}';
if(($i+1) == $num)
$ret .= '}';
else
More information about the vtigercrm-commits
mailing list