[Vtigercrm-commits] [vtiger-commits] r10529 - in /vtigercrm/branches/5.0.3/modules/Webmails: DetailView.php Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 29 11:25:20 EDT 2007
Author: richie
Date: Thu Mar 29 09:25:13 2007
New Revision: 10529
Log:
passed array as parameter
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/DetailView.php
vtigercrm/branches/5.0.3/modules/Webmails/Save.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/DetailView.php Thu Mar 29 09:25:13 2007
@@ -40,8 +40,8 @@
echo '</table>';
echo '</td></tr>';
-
-$webmail->loadMail();
+$array_tab = Array();
+$webmail->loadMail($array_tab);
echo '<tr><td align="center"><iframe src="index.php?module=Webmails&action=body&mailid='.$mailid.'&mailbox='.$mailbox.'" width="100%" height="450" frameborder="0" style="border:1px solid gray">'.$mod_strings['LBL_NO_IFRAMES_SUPPORTED'].'</iframe></td></tr>';
Modified: vtigercrm/branches/5.0.3/modules/Webmails/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/Save.php Thu Mar 29 09:25:13 2007
@@ -33,8 +33,8 @@
$email = new Webmails($MailBox->mbox, $_REQUEST["mailid"]);
$subject = $email->subject;
$date = $email->date;
-
-$email->loadMail();
+$array_tab = Array();
+$email->loadMail($array_tab);
$msgData = $email->body;
$focus->column_fields['subject']=$subject;
More information about the vtigercrm-commits
mailing list